19833939
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
02:54.048
Run Time
00:00.951
Inserted
3h ago
Scheduled
1h ago
Completed
1h ago (00:01)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "222921",
"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" => 1772760592160256,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUmUL5dOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCWbB36",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a6d-7dc2-82e1-02fdb4e583fe"
}
Recorded Output
%{
users_reached: 31,
builder_event_users_reached: 0,
nps_survey_users_reached: 0
}
Errors
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
"al build))\n"
# 2
42
# 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", "361123, typename: DB::AsynchronousBoundedReadBuff", "-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 3092", "While reading or decompressing c", "40-23734c2d29ef:2215, kind: Regular, unbound: 0:", " id: 1123625e-4d1d-4a2a-a040-23734c2d29ef:2215, current write offset: 30920409088, caller id: 1123625e-4d1d-4a2a-a", "reserved size: 952035, downloade", " PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", " segment info: File segment: [30920409088, 30924603391], key: aececc170da7372f80e00e17ca41e0d9, state", "ad_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 1123625e-4d1d-4a2a-a040-23734c2d29ef:2215, fil", "fset_of_buffer_end: 30921361123, read_until_position: 30921689838, internal buffer end: 30921457664, r", "3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aececc170da7372f80e00e17ca41e0d9, file_o", "f:2215, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591", "09088, caller id: 1123625e-4d1d-4a2a-a040-23734c2d29", " size: 952035, downloader id: 1123625e-4d1d-4a2a-a040-23734c2d29ef:2215, current write offset: 30920", ": [30920409088, 30924603391], 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/30920409088: ", "e0d9/30920409088: , 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
"0.1.7375 (official build))\n"
# 2
43
# 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_24202139_24567826_35_24568582 (stat", "qtzvqjj (position: 30921361123, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <", "5-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctken", " While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b", " offset: 30920409088, caller id: de872a37-57fc-46f9-a6dc-53606364aa49:2299, kind: Regular, unbound: 0", "a37-57fc-46f9-a6dc-53606364aa49:2299, current writ", "O_CONTINUATION, downloaded size: 0, reserved size: 952035, downloader id: de87", ": File segment: [30920409088, 30924603391], key: aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_", "READ_AND_PUT_IN_CACHE, last caller: de872a37-57fc-46f9-a6dc-53606364aa49:2299, file segment inf", ", internal buffer end: 30921457664, read_type: REMOTE_FS", "170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 30921361123, read_until_position: 3092168983", " path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, hash key: aecec", "9:2299, kind: Regular, unbound: 0: Cache info: Buffe", "09088, caller id: de872a37-57fc-46f9-a6dc-53606364aa", " size: 952035, downloader id: de872a37-57fc-46f9-a6dc-53606364aa49:2299, current write offset: 30920", ": [30920409088, 30924603391], 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/30920409088: ", "e0d9/30920409088: , 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