19834095 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 08:51.741
Run Time 00:02.209
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "223365",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760600308412,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUkMLpdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCinB4u",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a70-7470-9ee4-8064ccd8f862"
}

Recorded Output

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

Errors

Attempt 1—10h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "lgorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "24567826_35_24568582 (state Active) failed with error. It can mean that some retryable error ha", ": (attempt to read data part all_24202139", "(while reading column attributes", "jj (position: 31192260033, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "ecompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzv", "92, kind: Regular, unbound: 0: While reading or ", "44544, caller id: 6692805e-929b-4958-a7aa-64d09cdb9b83:1", "8-a7aa-64d09cdb9b83:1092, current write offset: 31188", "e: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 6692805e-929b-49", "ile segment info: File segment: [31188844544, 31197233151], key: aececc170da7372f80e00e17ca41e0d9, sta", "E_FS_READ_AND_PUT_IN_CACHE, last caller: 6692805e-929b-4958-a7aa-64d09cdb9b83:1092, ", ", internal buffer end: 31189893120, read_type: REMO", "170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 31192260033, read_until_position: 3119552083", " path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aecec", "092, kind: Regular, unbound: 0: Cache info: Buffe", "844544, caller id: 6692805e-929b-4958-a7aa-64d09cdb9b83:", " size: 1048576, downloader id: 6692805e-929b-4958-a7aa-64d09cdb9b83:1092, current write offset: 3118", ": [31188844544, 31197233151], key: aececc170da7372f80e00e17ca41e0d9, state: DOWNLOADING, downloaded size: 0, reserve", "current cache state: File segmen", " errno: 30, strerror: Read-only file system,", " file system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/31188844544: ", "e0d9/31188844544: , errno: 30, strerror: Read-onl", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca4"]

    (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