19829747
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
03:17.916
Run Time
00:01.621
Inserted
12h ago
Scheduled
10h ago
Completed
10h ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "210259",
"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" => 1772760451319767,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-79e5-7719-b668-d911b0b12a48"
}
Recorded Output
%{users_reached: 0, builder_event_users_reached: 0, nps_survey_users_reached: 0}
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
"5 (official build))\n"
# 2
52
# 3
67
# 4
["ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", "d, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", "that some retryable error happen", "12 (state Active) failed with error. It can mean", " (attempt to read data part all_13029461_13264514_26_22488", "d: 437ad186-12bc-429a-9890-8a627e0adb32:2066, kind: Regular, unbound: 0: (while reading column timestamp)", "write offset: 482344960, caller ", "NLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current", " segment info: File segment: [478150656, 482344959], key: 1672ca79fedf05cb542022228e3b354c, state: DO", "CHED, last caller: 437ad186-12bc-429a-9890-8a627e0adb32:2066, fil", "81540902, internal buffer end: 3351272, read_type: C", "vvieairht, hash key: 1672ca79fedf05cb542022228e3b354c, file_offset_of_buffer_end: 481501928, read_until_position: ", "tput error: Cache info: Buffer path: ch-s3-28d/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/fsy/cfcdebmavwihcbwzjto", "28e3b354c/478150656: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/167/1672ca79fedf05cb542022"]
(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
".10.1.7375 (official build))\n"
# 2
42
# 3
67
# 4
["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25", "e) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "ile reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Acti", "rqfhqvn (position: 14117816212, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (w", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", " While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b", " offset: 14113832960, caller id: 36b8e815-2269-43f9-b21d-103a49ca0339:2402, kind: Regular, unbound: 0", "loaded size: 0, reserved size: 1048576, downloader id: 36b8e815-2269-43f9-b21d-103a49ca0339:2402, current writ", "682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", " 14118027263], key: 31211262ceb296d126dc7cad", "402, file segment info: File segment: [14113832960", "TE_FS_READ_AND_PUT_IN_CACHE, last caller: 36b8e815-2269-43f9-b21d-103a49ca0339:", "end: 14114881536, read_type: REM", "16212, read_until_position: 14117936871, internal buffer", "iy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14117", " ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", ":2402, kind: Regular, unbound: 0: Cache info: Buffer path", ", caller id: 36b8e815-2269-43f9-b21d-103a49ca033", ": 1048576, downloader id: 36b8e815-2269-43f9-b21d-103a49ca0339:2402, current write offset: 1411383296", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14113832960, 14118027263", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14113832960: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14113832960: , 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