19827623 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 03:56.826
Run Time 00:00.423
Inserted 5h ago
Scheduled 3h ago
Completed 3h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "208990",
  "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" => 1772761272173972,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79bb-7a2e-86a0-2338f82f0ca4"
}

Recorded Output

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

    # 2
    45

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "th error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "811_14319854_46_22488012 (state Active) failed w", "pressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_1371", "8808, typename: DB::AsynchronousBoundedReadBuffer, co", "g ch-s3-a77/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvw/gkczqxprckqijzbotcynipnpyxorx (position: 230250", ": 17a1beca-0b21-41e0-a673-7bd1b4e29c11:2307, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: 17a1beca-0b21-41e0-a673-7bd1b4e29c11:2307, current write offset: 23022534656, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [23022534656, 23026728959], key: 1c84c65d68dfe38ed1b44c778b5f6e5f, state: P", "D_PUT_IN_CACHE, last caller: 17a1beca-0b21-41e0-a673-7bd1b4e29c11:2307, file s", "_end: 23025058808, read_until_position: 23025149975, internal buffer end: 23023583232, read_type: REMOTE_FS_READ_A", "e/lvw/gkczqxprckqijzbotcynipnpyxorx, hash key: 1c84c65d68dfe38ed1b44c778b5f6e5f, file_offset_of_buffe", "uffer path: ch-s3-a77/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "9c11:2307, kind: Regular, unbound: 0: Cache info: ", "534656, caller id: 17a1beca-0b21-41e0-a673-7bd1b4e", " size: 1048576, downloader id: 17a1beca-0b21-41e0-a673-7bd1b4e29c11:2307, current write offset: 2302", ": [23022534656, 23026728959], key: 1c84c65d68dfe38ed1b44c778b5f6e5f, state: DOWNLOADING, downloaded size: 0, reserve", "5f6e5f/23022534656: , errno: 30, strerror: Read-only file system, current cache state: File segmen", "sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778", "6e5f/23022534656: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778b5"]

    (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