19817355 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 07:20.442
Run Time 00:00.864
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772759273833049,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGA0LJdOKs3MSUktik8tS80riUdRkchQLpFXUBxfXFpUllqJJhcCAK+jHmI",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7896-73f3-8a53-44c29bb1d7b9"
}

Recorded Output

%{
  users_reached: 305,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 84
}

Errors

Attempt 2—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
    "l: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    40

    # 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: 398389948, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <un", "f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmv", "decompressing ch-s3-c70/aa8129e2", " kind: Regular, unbound: 0: While reading or", "6, caller id: 690c4ac1-97bf-42b6-a13e-20c6f547d58c:2127", "-a13e-20c6f547d58c:2127, current write offset: 3942645", "downloader id: 690c4ac1-97bf-42b", " downloaded size: 0, reserved size: 1048576,", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "76, 398458879], key: 75aad6bb95b3354dcd408787b33172ab", "47d58c:2127, file segment info: File segment: [394264", "_FS_READ_AND_PUT_IN_CACHE, last caller: 690c4ac1-97bf-42b6-a13e-20c6f", "8697658, internal buffer end: 395313152, read_type: REMOT", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 398389948, read_until_position: 3", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 690c4ac1-97bf-42b6-a13e-20c6f547d58c:2127, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: 690c4ac1-97bf-42b6-a13e-20c6f547d58c:2127, current write offset: 394264576, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [394264576, 398458879], key: 75aad6bb95b3354dcd408787b331", "ab/394264576: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/394264576: , 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
    "d))\n"

    # 2
    40

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "(state Active) failed with error", "alized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_24589855", "rlwqwxqckjcgrg (position: 398389948, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninit", "ding or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdme", "7-a9a67858ce73:2402, kind: Regular, unbound: 0: While re", "caller id: 3848ffa0-c690-4dba-aa", ": 1048576, downloader id: 3848ffa0-c690-4dba-aa87-a9a67858ce73:2402, current write offset: 394264576,", "downloaded size: 0, reserved siz", "172ab, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION,", " 398458879], key: 75aad6bb95b3354dcd408787b3", "58ce73:2402, file segment info: File segment: [394264576", "_FS_READ_AND_PUT_IN_CACHE, last caller: 3848ffa0-c690-4dba-aa87-a9a67", "8697658, internal buffer end: 395313152, read_type: REMOT", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 398389948, read_until_position: 3", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 3848ffa0-c690-4dba-aa87-a9a67858ce73:2402, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: 3848ffa0-c690-4dba-aa87-a9a67858ce73:2402, current write offset: 394264576, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [394264576, 398458879], key: 75aad6bb95b3354dcd408787b331", "ab/394264576: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/394264576: , 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