19835631 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 00:11.745
Run Time 00:05.799
Inserted 3h ago
Scheduled 1h ago
Completed 1h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "92392",
  "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" => 1772760631074848,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a8f-75d8-a3c9-f8dcb2093e89"
}

Recorded Output

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

Errors

Attempt 4—1h 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: 11388443268, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while", " or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqt", "e offset: 11387535360, caller id: 9e531be3-6647-4126-bb0b-815e27f56196:2365, kind: Regular, unbound: 0: While readin", "be3-6647-4126-bb0b-815e27f56196:2365, current wri", "O_CONTINUATION, downloaded size: 0, reserved size: 907908, downloader id: 9e53", ": File segment: [11387535360, 11391729663], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_", "-6647-4126-bb0b-815e27f56196:2365, file segment inf", "ion: 11388553750, internal buffer end: 11388583936, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 9e531be", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 11388443268, read_until_posi", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", ":2365, kind: Regular, unbound: 0: Cache info: Buffer p", "35360, caller id: 9e531be3-6647-4126-bb0b-815e27f5619", " size: 907908, downloader id: 9e531be3-6647-4126-bb0b-815e27f56196:2365, current write offset: 11387", ": [11387535360, 11391729663], 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/11387535360: ", "e0d9/11387535360: , 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 3—1h 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
    ["he query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "tate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry ", "itialized>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_24568582 (", "usnsrfpctkenfqtzvqjj (position: 11388443268, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uni", ", unbound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzl", "1-a97d-489b-8307-19d704b2ce1a:1077, kind: Regula", "r id: 41aaca01-a97d-489b-8307-19d704b2ce1a:1077, current write offset: 11387535360, caller id: 41aaca", "0d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 907908, download", "7535360, 11391729663], key: aececc170da7372f80e00e17ca41", "segment info: File segment: [113", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 41aaca01-a97d-489b-8307-19d704b2ce1a:1077, file", "1388553750, internal buffer end: 11388583936, rea", "ash key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 11388443268, read_until_position: ", "91d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, ", ":1077, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441", "35360, caller id: 41aaca01-a97d-489b-8307-19d704b2ce1", " size: 907908, downloader id: 41aaca01-a97d-489b-8307-19d704b2ce1a:1077, current write offset: 11387", ": [11387535360, 11391729663], 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/11387535360: ", "e0d9/11387535360: , 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—1h 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
    40

    # 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", " 11388443268, typename: DB::AsynchronousBoundedReadBuffer,", "h-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position", " unbound: 0: While reading or decompressing ", "1-8fee-4f17-8549-260833156443:2318, kind: Regular", "r id: 1ff29e11-8fee-4f17-8549-260833156443:2318, current write offset: 11387535360, caller id: 1ff29e", "0d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 907908, download", "7535360, 11391729663], key: aececc170da7372f80e00e17ca41", "0833156443:2318, file segment info: File segment: [113", "MOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 1ff29e11-8fee-4f17-8549-2", ", internal buffer end: 11388583936, read_type: R", "170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 11388443268, read_until_position: 1138855375", " path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aecec", ":2318, kind: Regular, unbound: 0: Cache info: Buffe", "35360, caller id: 1ff29e11-8fee-4f17-8549-26083315644", " size: 907908, downloader id: 1ff29e11-8fee-4f17-8549-260833156443:2318, current write offset: 11387", ": [11387535360, 11391729663], 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/11387535360: ", "e0d9/11387535360: , 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—2h 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
    44

    # 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: 11388443268, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitiali", "ompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvq", "aller id: 242f0019-01c5-4bce-bc6f-fba2178ab1a9:2298, kind: Regular, unbound: 0: While reading or de", "78ab1a9:2298, current write offset: 11387535360, ", " downloader id: 242f0019-01c5-4bce-bc6f-fba2", "00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 907908", "ba2178ab1a9:2298, file segment info: File segment: [11387535360, 11391729663], key: aececc170da7372f80", "er end: 11388583936, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 242f0019-01c5-4bce-bc6f-", "3268, read_until_position: 11388553750, internal buf", "pg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 113884", " ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", ":2298, kind: Regular, unbound: 0: Cache info: Buffer path", "35360, caller id: 242f0019-01c5-4bce-bc6f-fba2178ab1a", " size: 907908, downloader id: 242f0019-01c5-4bce-bc6f-fba2178ab1a9:2298, current write offset: 11387", ": [11387535360, 11391729663], 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/11387535360: ", "e0d9/11387535360: , 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