19817815 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 01:34.927
Run Time 00:01.688
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "88276",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 7
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760775534719,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGA6XC6dVJqZk5JaFJ9alppXEo+iIpGhXCKvoDi+uLSoLLUSXQ4A0cQeoQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78a0-794f-a4a4-c73ca58111c4"
}

Recorded Output

%{
  users_reached: 707,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 0
}

Errors

Attempt 3—4h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "E) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FIL", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "86005_22284903_36_22488012 (state Active) failed with er", "ta header: <uninitialized>): (while reading column attributes): (attempt to read data part all_21", "al/buegwywkjlctzzxlwskoenbibskfb (position: 11741613635, typename: DB::AsynchronousBoundedReadBuffer, compressed d", "hile reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "te offset: 11739856896, caller id: 21917250-7343-47b0-a727-33d9bf9e7a50:2125, kind: Regular, unbound: 0: ", "7250-7343-47b0-a727-33d9bf9e7a50:2125, current wr", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 219", "nfo: File segment: [11739856896, 11744051199], key: 8bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: 21917250-7343-47b0-a727-33d9bf9e7a50:2125, file segment ", ": 11741613635, read_until_position: 11741788676, internal buffer end: 11740905472, read_type: REMOTE", "835f487b01cc7ef2def9fca65, file_offset_of_buffer_en", "buegwywkjlctzzxlwskoenbibskfb, hash key: 8bdd62", "ular, unbound: 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral", "1917250-7343-47b0-a727-33d9bf9e7a50:2125, kind: Re", "offset: 11739856896, caller id: ", "50-7343-47b0-a727-33d9bf9e7a50:2125, current write", "7ef2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 21917", "1739856896, 11744051199], key: 8bdd623835f487b01c", "9fca65/11739856896: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/11739856896: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4

Attempt 2—4h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "l: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    41

    # 3
    67

    # 4
    ["e retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(poo", "855 (state Active) failed with error. It can mean that so", "nitialized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_2458", "gsafwacdmeqrlwqwxqckjcgrg (position: 645689226, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <un", "f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmv", "decompressing ch-s3-c70/aa8129e2", "e8f:1040, kind: Regular, unbound: 0: While reading or", "bff19f42-708f-4aa8-81ad-2b0d6316", "5e8f:1040, current write offset: 641728512, caller id:", "8576, downloader id: bff19f42-708f-4aa8-81ad-2b0d631", "cd408787b33172ab, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10", "645922815], key: 75aad6bb95b3354", "040, file segment info: File segment: [641728512,", "EMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: bff19f42-708f-4aa8-81ad-2b0d63165e8f:", "5782245, internal buffer end: 642777088, read_type: ", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 645689226, read_until_position: 6", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: bff19f42-708f-4aa8-81ad-2b0d63165e8f:1040, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: bff19f42-708f-4aa8-81ad-2b0d63165e8f:1040, current write offset: 641728512, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [641728512, 645922815], key: 75aad6bb95b3354dcd408787b331", "ab/641728512: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/641728512: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4

Attempt 1—5h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "tchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    40

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "6_22488012 (state Active) failed with error. It can", "data part all_21886005_22284903_", "nchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read", "b-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 11741613635, typename: DB::As", "egular, unbound: 0: While reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bb", "79bf220-d031-41fc-8121-d127118062cc:2393, kind: ", "der id: 079bf220-d031-41fc-8121-d127118062cc:2393, current write offset: 11739856896, caller id: ", "D_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "11739856896, 11744051199], key: 8bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLOAD", "121-d127118062cc:2393, file segment info: File segment: ", "last caller: 079bf220-d031-41fc-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", " 11741788676, internal buffer end: 11740905472, read_type:", "fb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 11741613635, read_until_position", "591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibs", "egular, unbound: 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-844", "79bf220-d031-41fc-8121-d127118062cc:2393, kind: ", "offset: 11739856896, caller id: ", "20-d031-41fc-8121-d127118062cc:2393, current write", "7ef2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 079bf", "1739856896, 11744051199], key: 8bdd623835f487b01c", "9fca65/11739856896: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/11739856896: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4