19835827 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 08:25.213
Run Time 00:00.608
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "50346",
  "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" => 1772760649890550,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a93-75f8-b413-9ed9207f9acb"
}

Recorded Output

%{users_reached: 0, 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
    "uild))\n"

    # 2
    44

    # 3
    67

    # 4
    ["ct(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official b", " retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSel", "ad data part all_21886005_22284903_36_22488012 (state Active) failed with error. It can mean that som", "onousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to r", "7347494308, typename: DB::Asynch", "mpressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position:", "unbound: 0: While reading or dec", " d20752dd-cd45-4cce-a58e-09945b2cfaed:2377, kind: Regular,", "ownloader id: d20752dd-cd45-4cce-a58e-09945b2cfaed:2377, current write offset: 7344226304, caller id", "DED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, ", "bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLO", "d-cd45-4cce-a58e-09945b2cfaed:2377, file segment info: File segment: [7344226304, 7348420607], key: ", "ition: 7347633098, internal buffer end: 7345274880, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: d20752", ", hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 7347494308, read_until_po", "1591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskf", "faed:2377, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-84", "-a58e-09945b2cfaed:2377, current write offset: 7344226304, caller id: d20752dd-cd45-4cce-a58e-09945b2", "downloader id: d20752dd-cd45-4cc", " downloaded size: 0, reserved size: 1048576,", "ent cache state: File segment: [7344226304, 7348420607], key: 8bdd623835f487b01cc7ef2def9fca65, state: DOWNLOADING", "haredS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9fca65/7344226304: , errno: 30, strerror: Read-only file system, cur", "ca65/7344226304: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache/", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (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