19821731
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
05:50.066
Run Time
00:02.868
Inserted
21h ago
Scheduled
20h ago
Completed
19h ago (00:03)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "126343",
"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" => 1772759856386317,
"recorded" => true,
"return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYDC/Wi6dVJqZk5JaFJ9alppXEo+uwlCsXCKvoDi+uLSoLLUSVTqRAQAmox8w",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-790b-7dda-a32f-7374aeb77c62"
}
Recorded Output
%{
users_reached: 14293,
builder_event_users_reached: 12566,
nps_survey_users_reached: 0
}
Errors
Attempt 2—20h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"l: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"
# 2
44
# 3
67
# 4
["hat some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(poo", "88012 (state Active) failed with error. It can mean ", "part all_12661296_12746905_20_22", "er, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data", "023836, typename: DB::AsynchronousBoundedReadBuf", "-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn (position: 3239", "a247568-82ba-4b1f-adde-90c38ff4edc3:1495, kind: Regular, unbound: 0: While reading or decompressing c", "der id: ea247568-82ba-4b1f-adde-90c38ff4edc3:1495, current write offset: 32388415488, caller id: ", "_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "le segment: [32388415488, 32392609791], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DOWNLOADE", "e: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: ea247568-82ba-4b1f-adde-90c38ff4edc3:1495, file segment info: F", "74348, internal buffer end: 32389464064, read_ty", "c74b9c9401e4b14d7512160e71c27, file_offset_of_buffer_end: 32390023836, read_until_position: 32391", "qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49", "ind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree", ", caller id: ea247568-82ba-4b1f-adde-90c38ff4edc3:1495, ", ": 1048576, downloader id: ea247568-82ba-4b1f-adde-90c38ff4edc3:1495, current write offset: 3238841548", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [32388415488, 32392609791", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/32388415488: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/32388415488: , 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—20h 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
44
# 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_12661296_12746905_20_22488012 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "32390023836, typename: DB::Async", "mpressing ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn (position:", "unbound: 0: While reading or dec", "bcdc566-131c-45a5-b5a4-7c7db1ffbe2b:2361, kind: Regular,", "der id: 8bcdc566-131c-45a5-b5a4-7c7db1ffbe2b:2361, current write offset: 32388415488, caller id: ", "_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "le segment: [32388415488, 32392609791], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DOWNLOADE", "e: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8bcdc566-131c-45a5-b5a4-7c7db1ffbe2b:2361, file segment info: F", "74348, internal buffer end: 32389464064, read_ty", "c74b9c9401e4b14d7512160e71c27, file_offset_of_buffer_end: 32390023836, read_until_position: 32391", "qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49", "ind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree", ", caller id: 8bcdc566-131c-45a5-b5a4-7c7db1ffbe2b:2361, ", ": 1048576, downloader id: 8bcdc566-131c-45a5-b5a4-7c7db1ffbe2b:2361, current write offset: 3238841548", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [32388415488, 32392609791", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/32388415488: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/32388415488: , 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