19816451
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
07:36.833
Run Time
00:01.380
Inserted
1d ago
Scheduled
23h ago
Completed
23h ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "81179",
"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" => 1772759191298876,
"recorded" => true,
"return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYPxgUi6dVJqZk5JaFJ9alppXEo+iIpGhXCKvoDi+uLSoLLUSXQ4A6TQfAQ",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7883-72cc-9b97-91e3af122455"
}
Recorded Output
%{
users_reached: 127028,
builder_event_users_reached: 0,
nps_survey_users_reached: 0
}
Errors
Attempt 2—23h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"refetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"
# 2
43
# 3
67
# 4
["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "): (attempt to read data part all_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that ", "hronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attribute", "position: 7549747564, typename: DB::Asyn", "g or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn ", "ffset: 7549747200, caller id: c9c4b200-a579-4a9c-9a24-32f683e485e4:2318, kind: Regular, unbound: 0: While readi", " c9c4b200-a579-4a9c-9a24-32f683e485e4:2318, current write ", "5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 364, downloader id", "47200, 7553941503], key: 31211262ceb296d126dc7cad9682b2", "e485e4:2318, file segment info: File segment: [7549", "_FS_READ_AND_PUT_IN_CACHE, last caller: c9c4b200-a579-4a9c-9a24-32f68", "6, internal buffer end: 7550795776, read_type: REMOT", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 7549747564, read_until_position: 75512081", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", ":2318, kind: Regular, unbound: 0: Cache info: Buffer", "7200, caller id: c9c4b200-a579-4a9c-9a24-32f683e485e", "rved size: 364, downloader id: c9c4b200-a579-4a9c-9a24-32f683e485e4:2318, current write offset: 75497", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [7549747200, 7553941503], key: 31211262ceb296d126dc7cad9682b2e5", "e5/7549747200: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/7549747200: , 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—23h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"cial build))\n"
# 2
43
# 3
67
# 4
["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offi", "n that some retryable error happened, or data is corrupted. Please retry the query: While executi", "5_36_22488012 (state Active) failed with error. It can me", "ed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_12396311_126612", "fmaqpniynhwkpjubyyrqfhqvn (position: 7549747564, typename: DB::AsynchronousBoundedReadBuffer, compres", ": 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jco", "4e5-4d7a-a355-72106871fc6f:2344, kind: Regular, unboun", "7549747200, caller id: 02d20bac-", "4e5-4d7a-a355-72106871fc6f:2344, current write offset:", "_CONTINUATION, downloaded size: 0, reserved size: 364, downloader id: 02d20bac-", "gment: [7549747200, 7553941503], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_N", "PUT_IN_CACHE, last caller: 02d20bac-64e5-4d7a-a355-72106871fc6f:2344, file segment info: File s", "d: 7549747564, read_until_position: 7551208146, internal buffer end: 7550795776, read_type: REMOTE_FS_READ_AND", " 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_e", "36/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key", ":2344, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3", "7200, caller id: 02d20bac-64e5-4d7a-a355-72106871fc6", "rved size: 364, downloader id: 02d20bac-64e5-4d7a-a355-72106871fc6f:2344, current write offset: 75497", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [7549747200, 7553941503], key: 31211262ceb296d126dc7cad9682b2e5", "e5/7549747200: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/7549747200: , 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