19818735 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 06:50.005
Run Time 00:00.584
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "27228",
  "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" => 1772759453909726,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGDqL5dOKs3MSUktik8tS80riUdRkchQLpFXUBxfXFpUllqJLgcAxZQebQ",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78be-7736-9650-04a00232cbf8"
}

Recorded Output

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

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
    "ol, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    40

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "rt all_24202139_24567826_35_24568582 (state Active) failed with error. It can mean that some retr", "ompressed data header: <uninitialized>): (while reading column attributes): (attempt to read data p", "6622562, typename: DB::AsynchronousBoundedReadBuffer, ", "ressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 20", ":1841, kind: Regular, unbound: 0: While reading or decom", "97568, caller id: b894900f-c835-4913-bb3a-ee40a5d70b5", "-bb3a-ee40a5d70b58:1841, current write offset: 2063", "downloader id: b894900f-c835-491", " downloaded size: 0, reserved size: 1048576,", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "568, 2067791871], key: aececc170da7372f80e00e17ca41e0d9", "d70b58:1841, file segment info: File segment: [206359", ": 2064646144, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: b894900f-c835-4913-bb3a-ee40a", "2, read_until_position: 2067077147, internal buffer en", "e17ca41e0d9, file_offset_of_buffer_end: 20666225", "47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aececc170da7372f80e0", "Buffer path: ch-s3-0ca/aa8129e2-", "b58:1841, kind: Regular, unbound: 0: Cache info:", "597568, caller id: b894900f-c835-4913-bb3a-ee40a5d7", "ize: 0, reserved size: 1048576, downloader id: b894900f-c835-4913-bb3a-ee40a5d70b58:1841, current write offset: 206", "f80e00e17ca41e0d9, state: DOWNLOADING, downloaded ", "ad-only file system, current cache state: File segment: [2063597568, 2067791871], key: aececc170da737", "t/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/2063597568: , errno: 30, strerror: R", "file system: Cannot open file /m", "e0d9/2063597568: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca4"]

    (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
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_24202139_24567826_35_24568582 (state Active) failed with error. It can mean that some re", "chronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attem", "b-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 2066622562, typename: DB::Asy", "759be1:2347, kind: Regular, unbound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bb", "-ae70-9e6d2f759be1:2347, current write offset: 2063597568, caller id: bce6f0d1-a8b9-451c-ae70-9e6d2", "downloader id: bce6f0d1-a8b9-451", " downloaded size: 0, reserved size: 1048576,", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "67791871], key: aececc170da7372f80e00e17ca41e0d9", "be1:2347, file segment info: File segment: [2063597568, 2", "bce6f0d1-a8b9-451c-ae70-9e6d2f75", "on: 2067077147, internal buffer end: 2064646144, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 2066622562, read_until_posit", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "be1:2347, kind: Regular, unbound: 0: Cache info: Buffer p", "597568, caller id: bce6f0d1-a8b9-451c-ae70-9e6d2f75", "ize: 0, reserved size: 1048576, downloader id: bce6f0d1-a8b9-451c-ae70-9e6d2f759be1:2347, current write offset: 206", "f80e00e17ca41e0d9, state: DOWNLOADING, downloaded ", "ad-only file system, current cache state: File segment: [2063597568, 2067791871], key: aececc170da737", "t/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/2063597568: , errno: 30, strerror: R", "file system: Cannot open file /m", "e0d9/2063597568: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca4"]

    (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