19825743 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 10:01.080
Run Time 00:00.781
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "147754",
  "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" => 1772760242730873,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYOBbVS6dVJqZk5JaFJ9alppXEo+uQmR9uUReQXF8cWlRWWolqnQiAwAfvR9Y",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7997-74d7-adb1-1458ad66f94a"
}

Recorded Output

%{
  users_reached: 3754,
  builder_event_users_reached: 5295,
  nps_survey_users_reached: 0
}

Errors

Attempt 1—3h ago

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

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

    # 1
    "ead). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["pool: PrefetchedReadPool, algorithm: Thr", "tryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect", " part all_24202139_24567826_35_24568582 (state Active) failed with error. It can mean that some r", "fer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read dat", "etree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 16596860928, typename: DB::AsynchronousBoundedReadBu", "ind: Regular, unbound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mer", ", caller id: d9977dbb-df0b-4212-9cf3-93cdbbe6fd55:1771, ", ": 1048576, downloader id: d9977dbb-df0b-4212-9cf3-93cdbbe6fd55:1771, current write offset: 1659686092", "downloaded size: 0, reserved siz", "d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION,", "6860928, 16601055231], key: aececc170da7372f80e00e17ca41e", "segment info: File segment: [165", "EAD_AND_PUT_IN_CACHE, last caller: d9977dbb-df0b-4212-9cf3-93cdbbe6fd55:1771, file", ", internal buffer end: 16597909504, read_type: REMOTE_FS_", "170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 16596860928, read_until_position: 1660035998", "ath: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aecec", ":1771, kind: Regular, unbound: 0: Cache info: Buffer ", "860928, caller id: d9977dbb-df0b-4212-9cf3-93cdbbe6fd5", " size: 1048576, downloader id: d9977dbb-df0b-4212-9cf3-93cdbbe6fd55:1771, current write offset: 1659", ": [16596860928, 16601055231], key: aececc170da7372f80e00e17ca41e0d9, state: DOWNLOADING, downloaded size: 0, reserve", "current cache state: File segmen", " errno: 30, strerror: Read-only file system,", " file system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/16596860928: ", "e0d9/16596860928: , errno: 30, strerror: Read-onl", "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