19815647
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
07:53.938
Run Time
00:02.819
Inserted
12h ago
Scheduled
10h ago
Completed
10h ago (00:03)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "50377",
"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" => 1772759102742800,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUmcXy6dVJqZk5JaFJ9alppXEo8qzVgukVdQHF9cWlSWWokuBwC0ih58",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7870-77c2-8457-408332961174"
}
Recorded Output
%{
users_reached: 159,
builder_event_users_reached: 1,
nps_survey_users_reached: 1
}
Errors
Attempt 2—10h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"uild))\n"
# 2
40
# 3
67
# 4
["ct(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official b", " retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSel", "ad data part all_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that som", "onousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to r", "4477033651, typename: DB::Asynch", "mpressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position:", "60e:2391, kind: Regular, unbound: 0: While reading or dec", " caller id: 110b7160-3a2e-4181-b117-dbeb8361", ": 1048576, downloader id: 110b7160-3a2e-4181-b117-dbeb8361960e:2391, current write offset: 4475322368", "downloaded size: 0, reserved siz", "b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION,", "322368, 4479516671], key: 31211262ceb296d126dc7cad968", "segment info: File segment: [447", "CHE, last caller: 110b7160-3a2e-4181-b117-dbeb8361960e:2391, file", "_until_position: 4477391220, internal buffer end: 4476370944, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "cad9682b2e5, file_offset_of_buffer_end: 4477033651, rea", "47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc", "Buffer path: ch-s3-30f/aa8129e2-", "960e:2391, kind: Regular, unbound: 0: Cache info:", "75322368, caller id: 110b7160-3a2e-4181-b117-dbeb836", "rved size: 1048576, downloader id: 110b7160-3a2e-4181-b117-dbeb8361960e:2391, current write offset: 4", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [4475322368, 4479516671], key: 31211262ceb296d126dc7cad9682b2e5", "e5/4475322368: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/4475322368: , 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—10h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"lgorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"
# 2
42
# 3
67
# 4
["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "12661295_36_22488012 (state Active) failed with error. It can mean that some retryable error ha", ": (attempt to read data part all_12396311", "(while reading column attributes", " (position: 4477033651, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>):", "compressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqv", "ller id: 50a43369-55d5-4dc2-8427-ef35038c9af0:2125, kind: Regular, unbound: 0: While reading or d", "5038c9af0:2125, current write offset: 4475322368, c", "48576, downloader id: 50a43369-55d5-4dc2-8427-ef", "126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1", "4479516671], key: 31211262ceb296", "125, file segment info: File segment: [4475322368,", "EMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 50a43369-55d5-4dc2-8427-ef35038c9af0:", "91220, internal buffer end: 4476370944, read_type: ", ", hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 4477033651, read_until_position: 4477", "1591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqv", "9af0:2125, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-84", "75322368, caller id: 50a43369-55d5-4dc2-8427-ef35038", "rved size: 1048576, downloader id: 50a43369-55d5-4dc2-8427-ef35038c9af0:2125, current write offset: 4", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [4475322368, 4479516671], key: 31211262ceb296d126dc7cad9682b2e5", "e5/4475322368: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/4475322368: , 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