19830991
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
00:03.144
Run Time
00:00.988
Inserted
9h ago
Scheduled
7h ago
Completed
7h ago (00:01)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "214544",
"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" => 1772762170858295,
"recorded" => true,
"return" => "g1AAAABaeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYODlLJdOKs3MSUktik8tS80riUdXwTm1XCKvoDi+uLSoLLUSQ5qlHQBP6R8d",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a30-756c-8abc-e850dc3e5b63"
}
Recorded Output
%{
users_reached: 3337,
builder_event_users_reached: 2453,
nps_survey_users_reached: 1159
}
Errors
Attempt 2—7h 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
41
# 3
67
# 4
["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "84903_36_22488012 (state Active) failed with error", "essed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_21886005_22", "518798, typename: DB::AsynchronousBoundedReadBuffer, comp", "6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 2352", "6-d9a0-4773-b9d1-e3e4d1128a25:2295, kind: Regular, unbound: 0: While reading or decompressing ch-s3-", "r id: d17885d6-d9a0-4773-b9d1-e3e4d1128a25:2295, current write offset: 23525851136, caller id: d17885", "reserved size: 1048576, download", " PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", " segment info: File segment: [23525851136, 23534239743], key: 8bdd623835f487b01cc7ef2def9fca65, state", "_READ_AND_PUT_IN_CACHE, last caller: d17885d6-d9a0-4773-b9d1-e3e4d1128a25:2295, fil", "23526899712, read_type: REMOTE_F", "8, read_until_position: 23530605469, internal buffer end:", "al/buegwywkjlctzzxlwskoenbibskfb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 235295187", "r, unbound: 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "d9a0-4773-b9d1-e3e4d1128a25:2295, kind: Regul", "23525851136, caller id: d17885d6", "served size: 1048576, downloader id: d17885d6-d9a0-4773-b9d1-e3e4d1128a25:2295, current write offset:", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "3525851136, 23534239743], key: 8bdd623835f487b01cc", "9fca65/23525851136: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/23525851136: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]
(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—7h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"E) (version 25.10.1.7375 (official build))\n"
# 2
44
# 3
67
# 4
["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FIL", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "86005_22284903_36_22488012 (state Active) failed with er", "d data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_21", "wywkjlctzzxlwskoenbibskfb (position: 23530075482, typename: DB::AsynchronousBoundedReadBuffer, compress", ": 0: While reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/bue", "8bb8-26d8a7f9983b:2353, kind: Regular, unboun", "nloader id: 6f40dbbc-ef8d-46c4-8bb8-26d8a7f9983b:2353, current write offset: 23530045440, caller id: 6f40dbbc-ef8d-46c4", "DED_NO_CONTINUATION, downloaded size: 0, reserved size: 30042, do", " 8bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLO", "-ef8d-46c4-8bb8-26d8a7f9983b:2353, file segment info: File segment: [23530045440, 23534239743], key", "ion: 23530605469, internal buffer end: 23531094016, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 6f40dbb", "sh key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 23530075482, read_until_posi", "er path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb, h", "f9983b:2353, kind: Regular, unbound: 0: Cache info: Buf", "530045440, caller id: 6f40dbbc-ef8d-46c4-8bb8-26d8a", "served size: 30042, downloader id: 6f40dbbc-ef8d-46c4-8bb8-26d8a7f9983b:2353, current write offset: 2", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "3530045440, 23534239743], key: 8bdd623835f487b01cc", "9fca65/23530045440: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/23530045440: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]
(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