19825927 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 04:40.954
Run Time 00:02.399
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "201753",
  "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" => 1772761217063827,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlMLJdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCl5B48",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-799a-7111-9f2e-42a66ce07001"
}

Recorded Output

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

Errors

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

    # 2
    44

    # 3
    67

    # 4
    ["yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", " part all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some ret", "fer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read dat", "etree/oes/ntbojrnlvaiysxfxgpdxhozuccytk (position: 24233913434, typename: DB::AsynchronousBoundedReadBu", "ind: Regular, unbound: 0: While reading or decompressing ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mer", ", caller id: c5ad8376-2e8e-4b41-b57b-f4278a7c0b19:2120, ", ": 1048576, downloader id: c5ad8376-2e8e-4b41-b57b-f4278a7c0b19:2120, current write offset: 2423049420", "downloaded size: 0, reserved siz", "7ae6b970, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION,", "0494208, 24234688511], key: 197d9eabdf12a7a549b4384", "segment info: File segment: [242", "CHE, last caller: c5ad8376-2e8e-4b41-b57b-f4278a7c0b19:2120, file", "position: 24233978624, internal buffer end: 24231542784, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "ytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 24233913434, read_until", "o: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuc", "278a7c0b19:2120, kind: Regular, unbound: 0: Cache in", "41-b57b-f4278a7c0b19:2120, current write offset: 24230494208, caller id: c5ad8376-2e8e-4b41-b57b-f", "6b970, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: c5ad8376-2e8e-4", "le system, current cache state: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467a", "/24230494208: , errno: 30, strerror: Read-only f", " system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae6b97", "b970/24230494208: , errno: 30, strerror: Read-only fil", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae"]

    (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