19823567
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
05:11.731
Run Time
00:08.883
Inserted
6h ago
Scheduled
5h ago
Completed
4h ago (00:09)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "118022",
"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" => 1772760059808973,
"recorded" => true,
"return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYMiYVy6dVJqZk5JaFJ9alppXEo+uosigXCKvoDi+uLSoLLUSVTqRAQAv6h+F",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7949-73cd-aec3-17e46a20feab"
}
Recorded Output
%{
users_reached: 26782,
builder_event_users_reached: 29232,
nps_survey_users_reached: 0
}
Errors
Attempt 2—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
"ial build))\n"
# 2
44
# 3
67
# 4
["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "41_27_22488012 (state Active) failed with error. It can ", "r: <uninitialized>): (while reading column attributes): (attempt to read data part all_14394994_14407", "wtrjuvz (position: 17784186817, typename: DB::AsynchronousBoundedReadBuffer, compressed data head", "5-bbcb-8441591d3836/mergetree/gol/ssaucqwfovokpbnxnwzhv", " While reading or decompressing ch-s3-b47/aa8129e2-f47e-4b", " offset: 17783848960, caller id: 8e486691-3006-4181-a24a-537d0491fe1a:2322, kind: Regular, unbound: 0", "wnloaded size: 0, reserved size: 337857, downloader id: 8e486691-3006-4181-a24a-537d0491fe1a:2322, current writ", "9bf, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "3848960, 17788043263], key: 51250780fbe00a873947e6a218cb", "segment info: File segment: [177", "CHE, last caller: 8e486691-3006-4181-a24a-537d0491fe1a:2322, file", "position: 17786324728, internal buffer end: 17784897536, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "xnwzhvawtrjuvz, hash key: 51250780fbe00a873947e6a218cb39bf, file_offset_of_buffer_end: 17784186817, read_until", "bound: 0: Cache info: Buffer path: ch-s3-b47/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gol/ssaucqwfovokpb", "4181-a24a-537d0491fe1a:2322, kind: Regular, u", "d: 8e486691-3006-4181-a24a-537d0491fe1a:2322, current write offset: 17783848960, caller id: 8e486691-3006", "e00a873947e6a218cb39bf, state: DOWNLOADING, downloaded size: 0, reserved size: 337857, downloader ", "d-only file system, current cache state: File segment: [17783848960, 17788043263], key: 51250780f", "che/sharedS3DiskCache/512/51250780fbe00a873947e6a218cb39bf/17783848960: , errno: 30, strerror: Re", "39bf/17783848960: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/512/51250780fbe00a873947e6a218c"]
(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
"ial build))\n"
# 2
44
# 3
67
# 4
["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "41_27_22488012 (state Active) failed with error. It can ", "r: <uninitialized>): (while reading column attributes): (attempt to read data part all_14394994_14407", "wtrjuvz (position: 17784186817, typename: DB::AsynchronousBoundedReadBuffer, compressed data head", "5-bbcb-8441591d3836/mergetree/gol/ssaucqwfovokpbnxnwzhv", " While reading or decompressing ch-s3-b47/aa8129e2-f47e-4b", " offset: 17783848960, caller id: 525ee747-8c9a-41a9-8fab-f98e07161ecc:2356, kind: Regular, unbound: 0", "wnloaded size: 0, reserved size: 337857, downloader id: 525ee747-8c9a-41a9-8fab-f98e07161ecc:2356, current writ", "9bf, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "3848960, 17788043263], key: 51250780fbe00a873947e6a218cb", "segment info: File segment: [177", "CHE, last caller: 525ee747-8c9a-41a9-8fab-f98e07161ecc:2356, file", "position: 17786324728, internal buffer end: 17784897536, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "xnwzhvawtrjuvz, hash key: 51250780fbe00a873947e6a218cb39bf, file_offset_of_buffer_end: 17784186817, read_until", "bound: 0: Cache info: Buffer path: ch-s3-b47/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/gol/ssaucqwfovokpb", "41a9-8fab-f98e07161ecc:2356, kind: Regular, u", "d: 525ee747-8c9a-41a9-8fab-f98e07161ecc:2356, current write offset: 17783848960, caller id: 525ee747-8c9a", "e00a873947e6a218cb39bf, state: DOWNLOADING, downloaded size: 0, reserved size: 337857, downloader ", "d-only file system, current cache state: File segment: [17783848960, 17788043263], key: 51250780f", "che/sharedS3DiskCache/512/51250780fbe00a873947e6a218cb39bf/17783848960: , errno: 30, strerror: Re", "39bf/17783848960: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/512/51250780fbe00a873947e6a218c"]
(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