19827779
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
00:39.312
Run Time
00:04.602
Inserted
3h ago
Scheduled
1h ago
Completed
1h ago (00:05)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "209047",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772761901433887,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-79be-7400-af87-d3c5281da4e5"
}
Recorded Output
%{users_reached: 0, 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
"d))\n"
# 2
43
# 3
67
# 4
["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "746905_20_22488012 (state Active) failed with erro", "to read data part all_12661296_1", "uninitialized>): (while reading column attributes): (attempt", "uhdn (position: 33967468295, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: ", "ng or decompressing ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkr", "ffset: 33965473792, caller id: a0e533d5-1bde-422e-a098-9263d25c3332:1475, kind: Regular, unbound: 0: While read", "33d5-1bde-422e-a098-9263d25c3332:1475, current write ", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: a0e", "nfo: File segment: [33965473792, 33969668095], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: a0e533d5-1bde-422e-a098-9263d25c3332:1475, file segment ", ": 33967468295, read_until_position: 33967588400, internal buffer end: 33966522368, read_type: REMOTE", "b9c9401e4b14d7512160e71c27, file_offset_of_buffer_en", " path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49ac7", "475, kind: Regular, unbound: 0: Cache info: Buffe", ", caller id: a0e533d5-1bde-422e-a098-9263d25c3332:", ": 1048576, downloader id: a0e533d5-1bde-422e-a098-9263d25c3332:1475, current write offset: 3396547379", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [33965473792, 33969668095", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/33965473792: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/33965473792: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]
(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—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
"tchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"
# 2
45
# 3
67
# 4
["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "mn attributes): (attempt to read data part all_12661296_12746905_20_22488012 (state Active) failed with error. It can", "name: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading col", "2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn (position: 33967468295, typ", "-8798-6d58d9ae63f9:1584, kind: Regular, unbound: 0: While reading or decompressing ch-s3-660/aa8129", "9345-f734-434c-8798-6d58d9ae63f9:1584, current write offset: 33965473792, caller id: 472f9345-f734-434", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 472", "nfo: File segment: [33965473792, 33969668095], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: 472f9345-f734-434c-8798-6d58d9ae63f9:1584, file segment ", ": 33967468295, read_until_position: 33967588400, internal buffer end: 33966522368, read_type: REMOTE", "b9c9401e4b14d7512160e71c27, file_offset_of_buffer_en", " path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49ac7", "584, kind: Regular, unbound: 0: Cache info: Buffe", ", caller id: 472f9345-f734-434c-8798-6d58d9ae63f9:", ": 1048576, downloader id: 472f9345-f734-434c-8798-6d58d9ae63f9:1584, current write offset: 3396547379", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [33965473792, 33969668095", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/33965473792: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/33965473792: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]
(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