19833271 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 01:54.447
Run Time 00:01.753
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:02)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760572375657,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a5f-75e1-a321-3c262063fd98"
}

Recorded Output

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

Errors

Attempt 3—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
    "0.1.7375 (official build))\n"

    # 2
    46

    # 3
    67

    # 4
    ["(CANNOT_OPEN_FILE) (version 25.1", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", "ninitialized>): (while reading column attributes): (attempt to read data part all_20349414_20845017_70_22488012 (stat", "rroeplonfhniixzosveopzmzg (position: 19092659020, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <", ": 0: While reading or decompressing ch-s3-1e8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alf", "8df0-6df62cc857a7:2368, kind: Regular, unboun", "nloader id: c3dc9821-877a-42ee-8df0-6df62cc857a7:2368, current write offset: 19092471808, caller id: c3dc9821-877a-42ee", "cd25b, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 187212, do", "71808, 19096666111], key: 4141261a35259f3ae8397d593b", "2cc857a7:2368, file segment info: File segment: [19092", "nd: 19093520384, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c3dc9821-877a-42ee-8df0-6df", "cd25b, file_offset_of_buffer_end: 19092659020, read_until_position: 19092761345, internal buffer ", "bcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveopzmzg, hash key: 4141261a35259f3ae8397d593b", "0-6df62cc857a7:2368, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-1e8/aa8129e2-f47e-4b75-", "-42ee-8df0-6df62cc857a7:2368, current write offset: 19092471808, caller id: c3dc9821-877a-42ee-8d", "cd25b, state: DOWNLOADING, downloaded size: 0, reserved size: 187212, downloader id: c3dc9821-877", "nly file system, current cache state: File segment: [19092471808, 19096666111], key: 4141261a35259f3ae8397d593b", "he/sharedS3DiskCache/414/4141261a35259f3ae8397d593bacd25b/19092471808: , errno: 30, strerror: Read-", "d25b/19092471808: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-ca", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/414/4141261a35259f3ae8397d593ba"]

    (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—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
    "d))\n"

    # 2
    45

    # 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", "t all_20349414_20845017_70_22488012 (state Active) failed with error. It can mean that some retryable error happen", "): (while reading column attributes): (attempt to read data pa", "zmzg (position: 19092659020, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized", " or decompressing ch-s3-1e8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveo", "e offset: 19092471808, caller id: 3df01e5d-ae8c-4a83-bc51-de1725006784:2291, kind: Regular, unbound: 0: While readin", "e5d-ae8c-4a83-bc51-de1725006784:2291, current wri", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 187212, downloader id: 3df0", "nfo: File segment: [19092471808, 19096666111], key: 4141261a35259f3ae8397d593bacd25b, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: 3df01e5d-ae8c-4a83-bc51-de1725006784:2291, file segment ", ", internal buffer end: 19093520384, read_type: REMOTE", "35259f3ae8397d593bacd25b, file_offset_of_buffer_end: 19092659020, read_until_position: 1909276134", "8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveopzmzg, hash key: 4141261", "Cache info: Buffer path: ch-s3-1", "de1725006784:2291, kind: Regular, unbound: 0:", "-4a83-bc51-de1725006784:2291, current write offset: 19092471808, caller id: 3df01e5d-ae8c-4a83-bc51", "cd25b, state: DOWNLOADING, downloaded size: 0, reserved size: 187212, downloader id: 3df01e5d-ae8", "nly file system, current cache state: File segment: [19092471808, 19096666111], key: 4141261a35259f3ae8397d593b", "he/sharedS3DiskCache/414/4141261a35259f3ae8397d593bacd25b/19092471808: , errno: 30, strerror: Read-", "d25b/19092471808: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-ca", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/414/4141261a35259f3ae8397d593ba"]

    (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—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
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    46

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "tempt to read data part all_20349414_20845017_70_22488012 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "19092659020, typename: DB::Async", "mpressing ch-s3-1e8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveopzmzg (position:", "unbound: 0: While reading or dec", " fa007379-371b-484d-bf3f-e36a206752d6:2342, kind: Regular,", "ize: 187212, downloader id: fa007379-371b-484d-bf3f-e36a206752d6:2342, current write offset: 19092471808, caller id", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "6111], key: 4141261a35259f3ae8397d593bacd25b, state: P", "ast caller: fa007379-371b-484d-bf3f-e36a206752d6:2342, file segment info: File segment: [19092471808, 190966", " 19093520384, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, ", "d25b, file_offset_of_buffer_end: 19092659020, read_until_position: 19092761345, internal buffer end", "cb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveopzmzg, hash key: 4141261a35259f3ae8397d593ba", "-e36a206752d6:2342, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-1e8/aa8129e2-f47e-4b75-b", "-484d-bf3f-e36a206752d6:2342, current write offset: 19092471808, caller id: fa007379-371b-484d-bf3", "cd25b, state: DOWNLOADING, downloaded size: 0, reserved size: 187212, downloader id: fa007379-371", "nly file system, current cache state: File segment: [19092471808, 19096666111], key: 4141261a35259f3ae8397d593b", "he/sharedS3DiskCache/414/4141261a35259f3ae8397d593bacd25b/19092471808: , errno: 30, strerror: Read-", "d25b/19092471808: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-ca", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/414/4141261a35259f3ae8397d593ba"]

    (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