19817419 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 13:34.117
Run Time 00:01.321
Inserted 6h ago
Scheduled 5h ago
Completed 5h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "89241",
  "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" => 1772759275394697,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUk8Xi6dVJqZk5JaFJ9alppXEo8incTAwKRVLpFXUBxfXFpUllqJKp3IAAD9sx7P",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7897-706d-a700-a4243fb63eab"
}

Recorded Output

%{
  users_reached: 199,
  builder_event_users_reached: 554,
  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
    "25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "rror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "904_22717272_59_22712811 (state Active) failed with ", ", compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_2228", "e/mhl/zoyfsiydchbjoddekclxlygyiuuzr (position: 7507877793, typename: DB::AsynchronousBoundedReadBuffe", "ular, unbound: 0: While reading or decompressing ch-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "366a50-de83-4b73-99ae-aa833250b4c8:2231, kind: Re", "offset: 7507804160, caller id: 0", "-de83-4b73-99ae-aa833250b4c8:2231, current write", "_CONTINUATION, downloaded size: 0, reserved size: 73633, downloader id: 01366a5", "gment: [7507804160, 7511998463], key: cfcde61893b81e4dcf4d018d05fcf52e, state: PARTIALLY_DOWNLOADED_N", "PUT_IN_CACHE, last caller: 01366a50-de83-4b73-99ae-aa833250b4c8:2231, file segment info: File s", "d: 7507877793, read_until_position: 7508049447, internal buffer end: 7508852736, read_type: REMOTE_FS_READ_AND", " cfcde61893b81e4dcf4d018d05fcf52e, file_offset_of_buffer_e", "h-s3-bfe/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/mhl/zoyfsiydchbjoddekclxlygyiuuzr, hash key", "2231, kind: Regular, unbound: 0: Cache info: Buffer path: ", "804160, caller id: 01366a50-de83-4b73-99ae-aa833250b4c8", "rved size: 73633, downloader id: 01366a50-de83-4b73-99ae-aa833250b4c8:2231, current write offset: 750", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [7507804160, 7511998463], key: cfcde61893b81e4dcf4d018d05fcf52e", "e/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05fcf52e/7507804160: , errno: 30, strerror: Read-only fi", "f52e/7507804160: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cac", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/cfc/cfcde61893b81e4dcf4d018d05f"]

    (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