19833323
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
4 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
01:54.479
Run Time
00:05.298
Inserted
21h ago
Scheduled
19h ago
Completed
19h ago (00:06)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "221148",
"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" => 1772760573690947,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUksLJdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCppB5M",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a60-7dcb-a786-21b467b25a05"
}
Recorded Output
%{
users_reached: 113,
builder_event_users_reached: 0,
nps_survey_users_reached: 0
}
Errors
Attempt 3—19h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"_FILE) (version 25.10.1.7375 (official build))\n"
# 2
42
# 3
67
# 4
["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Ac", "jubyyrqfhqvn (position: 14820359503, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "le reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwk", "8e-82b058e93e9e:2208, kind: Regular, unbound: 0: Wh", " id: cbfe766e-344e-43d3-a38e-82b058e93e9e:2208, current write offset: 14818476032, caller id: cbfe766e-344e-43d3-a", "5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "032, 14822670335], key: 31211262ceb296d126dc7cad9682b2", "e9e:2208, file segment info: File segment: [1481847", "S_READ_AND_PUT_IN_CACHE, last caller: cbfe766e-344e-43d3-a38e-82b058e9", "765, internal buffer end: 14819524608, read_type: REMOTE_", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14820359503, read_until_position: 1482042", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", "208, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: cbfe766e-344e-43d3-a38e-82b058e93e9e:", ": 1048576, downloader id: cbfe766e-344e-43d3-a38e-82b058e93e9e:2208, current write offset: 1481847603", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14818476032, 14822670335", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14818476032: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14818476032: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]
(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 2—19h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"5.10.1.7375 (official build))\n"
# 2
42
# 3
67
# 4
["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ed>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Active) faile", "synchronousBoundedReadBuffer, compressed data header: <uninitiali", "cb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position: 14820359503, typename: DB::", "f9f:2285, kind: Regular, unbound: 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-b", "4ee838e7-3997-4219-8c91-ed98d429", "285, current write offset: 14818476032, caller id:", ", downloader id: 4ee838e7-3997-4219-8c91-ed98d429bf9f:", "d9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 104857", "f9f:2285, file segment info: File segment: [14818476032, 14822670335], key: 31211262ceb296d126dc7c", "S_READ_AND_PUT_IN_CACHE, last caller: 4ee838e7-3997-4219-8c91-ed98d429", "765, internal buffer end: 14819524608, read_type: REMOTE_", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14820359503, read_until_position: 1482042", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", "285, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 4ee838e7-3997-4219-8c91-ed98d429bf9f:", ": 1048576, downloader id: 4ee838e7-3997-4219-8c91-ed98d429bf9f:2285, current write offset: 1481847603", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14818476032, 14822670335", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14818476032: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14818476032: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]
(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—19h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"25.10.1.7375 (official build))\n"
# 2
44
# 3
67
# 4
["he query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "tate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry ", "itialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (", "hqvn (position: 14820359503, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uni", " or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrq", "e offset: 14818476032, caller id: 559b8633-ef16-4dcb-99f7-ebc34806e35f:2231, kind: Regular, unbound: 0: While readin", "wnloaded size: 0, reserved size: 1048576, downloader id: 559b8633-ef16-4dcb-99f7-ebc34806e35f:2231, current wri", "82b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "35f:2231, file segment info: File segment: [14818476032, 14822670335], key: 31211262ceb296d126dc7cad9", "S_READ_AND_PUT_IN_CACHE, last caller: 559b8633-ef16-4dcb-99f7-ebc34806", "765, internal buffer end: 14819524608, read_type: REMOTE_", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14820359503, read_until_position: 1482042", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", "231, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 559b8633-ef16-4dcb-99f7-ebc34806e35f:", ": 1048576, downloader id: 559b8633-ef16-4dcb-99f7-ebc34806e35f:2231, current write offset: 1481847603", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14818476032, 14822670335", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14818476032: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14818476032: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]
(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