19833247 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 02:54.210
Run Time 00:01.402
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "221128",
  "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" => 1772760568355789,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a5e-703b-9bea-f035a2fd01ad"
}

Recorded Output

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

Errors

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

    # 2
    43

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "20845017_70_22488012 (state Active) failed with error. It can mean that some retryable error ha", ": (attempt to read data part all_20349414", "(while reading column attributes", "eopzmzg (position: 19092659020, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "5-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzos", " While reading or decompressing ch-s3-1e8/aa8129e2-f47e-4b", " offset: 19092471808, caller id: f491b4a3-3d74-4aa1-a226-039e59a1b36f:1466, kind: Regular, unbound: 0", "wnloaded size: 0, reserved size: 187212, downloader id: f491b4a3-3d74-4aa1-a226-039e59a1b36f:1466, current writ", "5b, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "2471808, 19096666111], key: 4141261a35259f3ae8397d593bacd", "segment info: File segment: [190", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: f491b4a3-3d74-4aa1-a226-039e59a1b36f:1466, file", "9092761345, internal buffer end: 19093520384, rea", "ash key: 4141261a35259f3ae8397d593bacd25b, file_offset_of_buffer_end: 19092659020, read_until_position: ", "fer path: ch-s3-1e8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzosveopzmzg, ", "e59a1b36f:1466, kind: Regular, unbound: 0: Cache info: Bu", "9092471808, caller id: f491b4a3-3d74-4aa1-a226-03", "-4aa1-a226-039e59a1b36f:1466, current write offset: ", "cd25b, state: DOWNLOADING, downloaded size: 0, reserved size: 187212, downloader id: f491b4a3-3d7", "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—5h ago

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

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

    # 1
    "lgorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "20845017_70_22488012 (state Active) failed with error. It can mean that some retryable error ha", ": (attempt to read data part all_20349414", "(while reading column attributes", "eopzmzg (position: 19092659020, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "5-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzos", " While reading or decompressing ch-s3-1e8/aa8129e2-f47e-4b", " offset: 19092471808, caller id: 22b55a99-6660-4c81-8e84-2bca88f0107d:1127, kind: Regular, unbound: 0", "wnloaded size: 0, reserved size: 187212, downloader id: 22b55a99-6660-4c81-8e84-2bca88f0107d:1127, current writ", "5b, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "2471808, 19096666111], key: 4141261a35259f3ae8397d593bacd", "segment info: File segment: [190", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 22b55a99-6660-4c81-8e84-2bca88f0107d:1127, file", "9092761345, internal buffer end: 19093520384, rea", "veopzmzg, hash key: 4141261a35259f3ae8397d593bacd25b, file_offset_of_buffer_end: 19092659020, read_until_position: ", " info: Buffer path: ch-s3-1e8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/vjv/alfxrroeplonfhniixzo", "t: 19092471808, caller id: 22b55a99-6660-4c81-8e84-2bca88f0107d:1127, kind: Regular, unbound: 0: Cach", "-4c81-8e84-2bca88f0107d:1127, current write offs", "cd25b, state: DOWNLOADING, downloaded size: 0, reserved size: 187212, downloader id: 22b55a99-666", "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