19822023 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 02:22.428
Run Time 00:00.991
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "116691",
  "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" => 1772759845424999,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUnULJdOKs3MSUktik8tS80riUeVZi+XyCsoji8uLSpLrUSTYwAAmY8eCw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-791d-7c1c-bc57-8c83b89c7af0"
}

Recorded Output

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

Errors

Attempt 3—9h ago

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

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

    # 1
    "d))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "mpt to read data part all_24202139_24567826_35_24568582 (state Active) failed with error. It can mean", "reading column attributes): (att", "vqjj (position: 13444997001, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while", "ng or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqt", "ffset: 13442744320, caller id: c1755123-855a-456f-9a6e-e750cba6aecf:2389, kind: Regular, unbound: 0: While read", "5123-855a-456f-9a6e-e750cba6aecf:2389, current write ", "O_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: c17", ": File segment: [13442744320, 13446938623], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_", "-855a-456f-9a6e-e750cba6aecf:2389, file segment inf", "ion: 13445123790, internal buffer end: 13443792896, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c175512", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 13444997001, read_until_posi", "r path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "aecf:2389, kind: Regular, unbound: 0: Cache info: Buff", "744320, caller id: c1755123-855a-456f-9a6e-e750cba", " size: 1048576, downloader id: c1755123-855a-456f-9a6e-e750cba6aecf:2389, current write offset: 1344", ": [13442744320, 13446938623], 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/13442744320: ", "e0d9/13442744320: , 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

Attempt 2—9h ago

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

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

    # 1
    "d))\n"

    # 2
    36

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "568582 (state Active) failed with error. It can mean", "lized>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_2", "compressed data header: <uniniti", "01, typename: DB::AsynchronousBoundedReadBuffer,", "sing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 13444997", "1454, kind: Regular, unbound: 0: While reading or decompre", "20, caller id: f87bce9c-ea2d-4677-ba7d-eb7191a03c64", "-ba7d-eb7191a03c64:1454, current write offset: 13442744", "downloader id: f87bce9c-ea2d-467", " downloaded size: 0, reserved size: 1048576,", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "aececc170da7372f80e00e17ca41e0d9", "[13442744320, 13446938623], key:", "CACHE, last caller: f87bce9c-ea2d-4677-ba7d-eb7191a03c64:1454, file segment info: File segment:", "_until_position: 13445123790, internal buffer end: 13443792896, read_type: REMOTE_FS_READ_AND_PUT_IN", "e0d9, file_offset_of_buffer_end: 13444997001, rea", "key: aececc170da7372f80e00e17ca4", "6/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash", " Buffer path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d38", "3c64:1454, kind: Regular, unbound: 0: Cache info", "744320, caller id: f87bce9c-ea2d-4677-ba7d-eb7191a", " size: 1048576, downloader id: f87bce9c-ea2d-4677-ba7d-eb7191a03c64:1454, current write offset: 1344", ": [13442744320, 13446938623], 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/13442744320: ", "e0d9/13442744320: , 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

Attempt 1—9h ago

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

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

    # 1
    "ial build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "26_35_24568582 (state Active) failed with error. It can ", "sed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_24202139_24567", "7001, typename: DB::AsynchronousBoundedReadBuffer, compre", "g ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 134449", ": 6f7c1bd1-93fa-4434-b603-d06623f21567:1566, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: 6f7c1bd1-93fa-4434-b603-d06623f21567:1566, current write offset: 13442744320, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [13442744320, 13446938623], key: aececc170da7372f80e00e17ca41e0d9, state: P", "D_PUT_IN_CACHE, last caller: 6f7c1bd1-93fa-4434-b603-d06623f21567:1566, file s", "_end: 13444997001, read_until_position: 13445123790, internal buffer end: 13443792896, read_type: REMOTE_FS_READ_A", "e/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffe", "uffer path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "1567:1566, kind: Regular, unbound: 0: Cache info: ", "744320, caller id: 6f7c1bd1-93fa-4434-b603-d06623f", " size: 1048576, downloader id: 6f7c1bd1-93fa-4434-b603-d06623f21567:1566, current write offset: 1344", ": [13442744320, 13446938623], 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/13442744320: ", "e0d9/13442744320: , 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