19836059 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 08:17.088
Run Time 00:01.111
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "133913",
  "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" => 1772760656314743,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a98-7817-90e2-dab3ac58b51b"
}

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
    "build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["(version 25.10.1.7375 (official ", "e retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE)", "t can mean that some retryable error happened, or data is corrupted. Plea", "52525_16_22488012 (state Active) failed with error. ", "ader: <uninitialized>): (while reading column attributes): (attempt to read data part all_14444612_14", "enkhkdljsjgumaof (position: 15330034209, typename: DB::AsynchronousBoundedReadBuffer, compressed data h", "e2-f47e-4b75-bbcb-8441591d3836/mergetree/yfm/squcnyoyjkko", ": While reading or decompressing ch-s3-469/aa812", "6c1-b8ea-d191da06a6c8:1743, kind: Regular, unbound: ", "6dc9-0943-46c1-b8ea-d191da06a6c8:1743, current write offset: 15325986816, caller id: 3f9c6dc9-0943-", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 3f9", "nfo: File segment: [15325986816, 15330181119], key: 9cc8cb0311e7079f9df93b92bb6d56ba, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: 3f9c6dc9-0943-46c1-b8ea-d191da06a6c8:1743, file segment ", "50, internal buffer end: 15327035392, read_type: REMOTE", "ey: 9cc8cb0311e7079f9df93b92bb6d56ba, file_offset_of_buffer_end: 15330034209, read_until_position: 15330156", "1d3836/mergetree/yfm/squcnyoyjkkogenkhkdljsjgumaof, hash ", "8:1743, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-469/aa8129e2-f47e-4b75-bbcb-84415", "986816, caller id: 3f9c6dc9-0943-46c1-b8ea-d191da06a6", " size: 1048576, downloader id: 3f9c6dc9-0943-46c1-b8ea-d191da06a6c8:1743, current write offset: 1532", "d56ba, state: DOWNLOADING, downloaded size: 0, reserve", "le system, current cache state: File segment: [15325986816, 15330181119], key: 9cc8cb0311e7079f9df93b92bb", "e/sharedS3DiskCache/9cc/9cc8cb0311e7079f9df93b92bb6d56ba/15325986816: , errno: 30, strerror: Read-only f", "56ba/15325986816: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cac", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/9cc/9cc8cb0311e7079f9df93b92bb6"]

    (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