19835971 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 08:25.181
Run Time 00:00.373
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "56906",
  "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" => 1772760649906240,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a95-7804-8a7e-d989008c8b9f"
}

Recorded Output

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

Errors

Attempt 1—18h 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
    46

    # 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_21886005_22284903_36_22488012 (state Active) failed with error. It can mean that some re", "chronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attem", "-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 9131003677, typename: DB::Asy", "ch-s3-c6c/aa8129e2-f47e-4b75-bbc", "ler id: 01a45f12-4cf4-4d38-8138-65d6460908c5:2247, kind: Regular, unbound: 0: While reading or decompressing", "d6460908c5:2247, current write offset: 9130999808, ca", "CONTINUATION, downloaded size: 0, reserved size: 3869, downloader id: 01a45f12-4cf4-4d38-8138-6", ": File segment: [9130999808, 9135194111], key: 8bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLOADED_NO", "READ_AND_PUT_IN_CACHE, last caller: 01a45f12-4cf4-4d38-8138-65d6460908c5:2247, file segment inf", "9132048384, read_type: REMOTE_FS", "9131022438, internal buffer end:", "fb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 9131003677, read_until_position:", "nfo: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibs", "138-65d6460908c5:2247, kind: Regular, unbound: 0: Cache ", "nloader id: 01a45f12-4cf4-4d38-8138-65d6460908c5:2247, current write offset: 9130999808, caller id: 01a45f12-4cf4-4d38-", " downloaded size: 0, reserved size: 3869, do", "ent cache state: File segment: [9130999808, 9135194111], key: 8bdd623835f487b01cc7ef2def9fca65, state: DOWNLOADING", "haredS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9fca65/9130999808: , errno: 30, strerror: Read-only file system, cur", "ca65/9130999808: , 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