19835643 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:20.290
Run Time 00:00.227
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "85728",
  "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" => 1772761501301506,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkLJdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCPZB3c",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a90-7bb7-aef8-bcfde0b110e8"
}

Recorded Output

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

Errors

Attempt 3—4h ago

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

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

    # 1
    "al build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offici", "at some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "68582 (state Active) failed with error. It can mean t", "part all_24202139_24567826_35_24", "r, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data", "e/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 10602795753, typename: DB::AsynchronousBoundedReadBuff", "ular, unbound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetr", "b00b937-6252-44e8-80df-b3be17a32050:2345, kind: Re", "der id: 2b00b937-6252-44e8-80df-b3be17a32050:2345, current write offset: 10599006208, caller id: ", "_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "le segment: [10599006208, 10603200511], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADE", "-6252-44e8-80df-b3be17a32050:2345, file segment info: F", "ion: 10602949868, internal buffer end: 10600054784, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2b00b93", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 10602795753, read_until_posi", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "45, kind: Regular, unbound: 0: Cache info: Buffer p", "006208, caller id: 2b00b937-6252-44e8-80df-b3be17a32050:2", " size: 1048576, downloader id: 2b00b937-6252-44e8-80df-b3be17a32050:2345, current write offset: 1059", ": [10599006208, 10603200511], 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/10599006208: ", "e0d9/10599006208: , 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—4h ago

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

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

    # 1
    "5.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ed>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_24568582 (state Active) faile", "j (position: 10602795753, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitiali", "41591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvq", "a:2384, kind: Regular, unbound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8", "8, caller id: 688c17ad-244f-4138-a099-8d51d4f5ff", "-a099-8d51d4f5ffea:2384, current write offset: 105990062", "downloader id: 688c17ad-244f-413", " downloaded size: 0, reserved size: 1048576,", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "aececc170da7372f80e00e17ca41e0d9", "-244f-4138-a099-8d51d4f5ffea:2384, file segment info: File segment: [10599006208, 10603200511], key:", "ion: 10602949868, internal buffer end: 10600054784, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 688c17a", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 10602795753, read_until_posi", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "84, kind: Regular, unbound: 0: Cache info: Buffer p", "006208, caller id: 688c17ad-244f-4138-a099-8d51d4f5ffea:2", " size: 1048576, downloader id: 688c17ad-244f-4138-a099-8d51d4f5ffea:2384, current write offset: 1059", ": [10599006208, 10603200511], 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/10599006208: ", "e0d9/10599006208: , 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—4h ago

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

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

    # 1
    "5.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ed>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_24568582 (state Active) faile", "kenfqtzvqjj (position: 10602795753, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitiali", "ading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpc", "5e-2dbc13a7faf3:2390, kind: Regular, unbound: 0: While r", " id: 6e4e4812-e63d-4c4d-885e-2dbc13a7faf3:2390, current write offset: 10599006208, caller id: 6e4e4812-e63d-4c4d-8", "WNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "o: File segment: [10599006208, 10603200511], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_D", "-e63d-4c4d-885e-2dbc13a7faf3:2390, file segment in", "ion: 10602949868, internal buffer end: 10600054784, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 6e4e481", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 10602795753, read_until_posi", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "90, kind: Regular, unbound: 0: Cache info: Buffer p", "006208, caller id: 6e4e4812-e63d-4c4d-885e-2dbc13a7faf3:2", " size: 1048576, downloader id: 6e4e4812-e63d-4c4d-885e-2dbc13a7faf3:2390, current write offset: 1059", ": [10599006208, 10603200511], 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/10599006208: ", "e0d9/10599006208: , 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