19821611 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 06:04.560
Run Time 00:01.607
Inserted 20h ago
Scheduled 19h ago
Completed 18h ago (00:02)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772761007981737,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGD6Xy6dVJqZk5JaFJ9alppXEo+ugnFWuUReQXF8cWlRWWolqnQiAwAtDR95",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7909-7024-928a-44c2ed4a7440"
}

Recorded Output

%{
  users_reached: 767,
  builder_event_users_reached: 410,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—19h ago

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

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

    # 1
    "lgorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "12661295_36_22488012 (state Active) failed with error. It can mean that some retryable error ha", ": (attempt to read data part all_12396311", "(while reading column attributes", " (position: 8556562860, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "compressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqv", "ller id: ff9bab23-14b0-4942-89fb-ae6c59d05ce8:2376, kind: Regular, unbound: 0: While reading or d", "fb-ae6c59d05ce8:2376, current write offset: 8556380160, c", "NO_CONTINUATION, downloaded size: 0, reserved size: 182700, downloader id: ff9bab23-14b0-4942-8", "8556380160, 8560574463], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED", "9fb-ae6c59d05ce8:2376, file segment info: File segment: ", "last caller: ff9bab23-14b0-4942-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", "56738445, internal buffer end: 8557428736, read_type:", "ash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 8556562860, read_until_position: 8", "91d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, ", "e8:2376, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441", "6380160, caller id: ff9bab23-14b0-4942-89fb-ae6c59d05", "rved size: 182700, downloader id: ff9bab23-14b0-4942-89fb-ae6c59d05ce8:2376, current write offset: 85", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [8556380160, 8560574463], key: 31211262ceb296d126dc7cad9682b2e5", "e5/8556380160: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/8556380160: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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