19836039 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 01:41.511
Run Time 00:01.479
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "26878",
  "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" => 1772760649249973,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a98-76a4-91dd-cbd881ad7971"
}

Recorded Output

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

Errors

Attempt 3—18h 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
    ["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 (", "enfqtzvqjj (position: 2066622562, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uni", "ing or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpct", "d-e91e6fb3ebb5:1127, kind: Regular, unbound: 0: While rea", " id: c453ff0e-fb46-4207-b19d-e91e6fb3ebb5:1127, current write offset: 2063597568, caller id: c453ff0e-fb46-4207-b1", "OADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "nfo: File segment: [2063597568, 2067791871], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWN", "FS_READ_AND_PUT_IN_CACHE, last caller: c453ff0e-fb46-4207-b19d-e91e6fb3ebb5:1127, file segment ", ", internal buffer end: 2064646144, read_type: REMOTE", "ey: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 2066622562, read_until_position: 206667352", "1d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash ", "bb5:1127, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-84415", "597568, caller id: c453ff0e-fb46-4207-b19d-e91e6fb3", "ize: 0, reserved size: 1048576, downloader id: c453ff0e-fb46-4207-b19d-e91e6fb3ebb5:1127, current write offset: 206", "f80e00e17ca41e0d9, state: DOWNLOADING, downloaded ", "ad-only file system, current cache state: File segment: [2063597568, 2067791871], key: aececc170da737", "t/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/2063597568: , errno: 30, strerror: R", "file system: Cannot open file /m", "e0d9/2063597568: , errno: 30, strerror: Read-only", "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—18h ago

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

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

    # 1
    "_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_24568582 (state Ac", "rfpctkenfqtzvqjj (position: 2066622562, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusn", ": While reading or decompressing ch-s3-0ca/aa812", "d68-8a1c-10a03def51fe:2275, kind: Regular, unbound: ", "d: bd17a8bc-34e5-4d68-8a1c-10a03def51fe:2275, current write offset: 2063597568, caller id: bd17a8bc-34e5-", "te: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader ", ", 2067791871], key: aececc170da7372f80e00e17ca41e0d9, st", "1fe:2275, file segment info: File segment: [206359756", "bd17a8bc-34e5-4d68-8a1c-10a03def", "on: 2066673524, internal buffer end: 2064646144, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 2066622562, read_until_posit", "r path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "1fe:2275, kind: Regular, unbound: 0: Cache info: Buff", "597568, caller id: bd17a8bc-34e5-4d68-8a1c-10a03def", "ize: 0, reserved size: 1048576, downloader id: bd17a8bc-34e5-4d68-8a1c-10a03def51fe:2275, current write offset: 206", "f80e00e17ca41e0d9, state: DOWNLOADING, downloaded ", "ad-only file system, current cache state: File segment: [2063597568, 2067791871], key: aececc170da737", "t/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/2063597568: , errno: 30, strerror: R", "file system: Cannot open file /m", "e0d9/2063597568: , errno: 30, strerror: Read-only", "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—18h ago

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

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

    # 1
    "_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_24202139_24567826_35_24568582 (state Ac", "rfpctkenfqtzvqjj (position: 2066622562, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusn", ": While reading or decompressing ch-s3-0ca/aa812", "ed5-b2ba-0b35f4c1516a:2321, kind: Regular, unbound: ", "d: 4a746c26-d95b-4ed5-b2ba-0b35f4c1516a:2321, current write offset: 2063597568, caller id: 4a746c26-d95b-", "te: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader ", ", 2067791871], key: aececc170da7372f80e00e17ca41e0d9, st", "16a:2321, file segment info: File segment: [206359756", "4a746c26-d95b-4ed5-b2ba-0b35f4c1", "on: 2066673524, internal buffer end: 2064646144, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 2066622562, read_until_posit", "r path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "16a:2321, kind: Regular, unbound: 0: Cache info: Buff", "597568, caller id: 4a746c26-d95b-4ed5-b2ba-0b35f4c1", "ize: 0, reserved size: 1048576, downloader id: 4a746c26-d95b-4ed5-b2ba-0b35f4c1516a:2321, current write offset: 206", "f80e00e17ca41e0d9, state: DOWNLOADING, downloaded ", "ad-only file system, current cache state: File segment: [2063597568, 2067791871], key: aececc170da737", "t/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/2063597568: , errno: 30, strerror: R", "file system: Cannot open file /m", "e0d9/2063597568: , errno: 30, strerror: Read-only", "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