19825919 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 02:22.356
Run Time 00:07.349
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "201694",
  "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" => 1772760258767015,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGD5Vy6dVJqZk5JaFJ9alppXEo+iIpGhXCKvoDi+uLSoLLUSXQ4A4BIe3g",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-799a-7457-8a7d-87b6ec50616c"
}

Recorded Output

%{
  users_reached: 1278,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 0
}

Errors

Attempt 3—4h 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", "8012 (state Active) failed with error. It can mean that ", "lized>): (while reading column attributes): (attempt to read data part all_4367134_4408939_26_224", "compressed data header: <uniniti", " 24233913434, typename: DB::AsynchronousBoundedReadBuffer,", "h-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuccytk (position", " unbound: 0: While reading or decompressing ", "54fcb19-b3d5-4c18-a984-e1f5fe37be56:1566, kind: Regular", "der id: 754fcb19-b3d5-4c18-a984-e1f5fe37be56:1566, current write offset: 24230494208, caller id: ", "D_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "fo: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467ae6b970, state: PARTIALLY_DOWNLOAD", "_CACHE, last caller: 754fcb19-b3d5-4c18-a984-e1f5fe37be56:1566, file segment i", "ad_until_position: 24233978624, internal buffer end: 24231542784, read_type: REMOTE_FS_READ_AND_PUT_I", "67ae6b970, file_offset_of_buffer_end: 24233913434, r", "hash key: 197d9eabdf12a7a549b438", "441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuccytk,", "5fe37be56:1566, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-", "18-a984-e1f5fe37be56:1566, current write offset: 24230494208, caller id: 754fcb19-b3d5-4c18-a984-e1", "6b970, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 754fcb19-b3d5-4", "le system, current cache state: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467a", "/24230494208: , errno: 30, strerror: Read-only f", " system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae6b97", "b970/24230494208: , errno: 30, strerror: Read-only fil", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae"]

    (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—4h 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
    42

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "8012 (state Active) failed with error. It can mean that ", "lized>): (while reading column attributes): (attempt to read data part all_4367134_4408939_26_224", "compressed data header: <uniniti", " 24233913434, typename: DB::AsynchronousBoundedReadBuffer,", "h-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuccytk (position", " unbound: 0: While reading or decompressing ", "b-f0e1-45f5-8386-7f22517d5e99:1521, kind: Regular", "r id: 1e6eeb1b-f0e1-45f5-8386-7f22517d5e99:1521, current write offset: 24230494208, caller id: 1e6eeb", "reserved size: 1048576, download", "y: 197d9eabdf12a7a549b438467ae6b970, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", "t caller: 1e6eeb1b-f0e1-45f5-8386-7f22517d5e99:1521, file segment info: File segment: [24230494208, 24234688511], k", "l_position: 24233978624, internal buffer end: 24231542784, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, la", "b970, file_offset_of_buffer_end: 24233913434, read_unt", "key: 197d9eabdf12a7a549b438467ae", ": Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuccytk, hash", "7d5e99:1521, kind: Regular, unbound: 0: Cache inf", "494208, caller id: 1e6eeb1b-f0e1-45f5-8386-7f225", "f5-8386-7f22517d5e99:1521, current write offset: 2423", "6b970, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 1e6eeb1b-f0e1-4", "le system, current cache state: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467a", "/24230494208: , errno: 30, strerror: Read-only f", " system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae6b97", "b970/24230494208: , errno: 30, strerror: Read-only fil", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae"]

    (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—5h 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", "an that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "39_26_22488012 (state Active) failed with error. It can m", "er: <uninitialized>): (while reading column attributes): (attempt to read data part all_4367134_4408", "bojrnlvaiysxfxgpdxhozuccytk (position: 24233913434, typename: DB::AsynchronousBoundedReadBuffer, compressed data hea", "3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/n", "a-261a-4c66-aa6a-40a8a94eb86c:2279, kind: Regular, unbound: 0: While reading or decompressing ch-s3-8", "r id: da66a4ea-261a-4c66-aa6a-40a8a94eb86c:2279, current write offset: 24230494208, caller id: da66a4", "reserved size: 1048576, download", " PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", " segment info: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467ae6b970, state", "_READ_AND_PUT_IN_CACHE, last caller: da66a4ea-261a-4c66-aa6a-40a8a94eb86c:2279, fil", "24231542784, read_type: REMOTE_F", "6b970, file_offset_of_buffer_end: 24233913434, read_until_position: 24233978624, internal buffer end:", "bcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpdxhozuccytk, hash key: 197d9eabdf12a7a549b438467a", "8a94eb86c:2279, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-", "66-aa6a-40a8a94eb86c:2279, current write offset: 24230494208, caller id: da66a4ea-261a-4c66-aa6a-40", "6b970, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: da66a4ea-261a-4", "le system, current cache state: File segment: [24230494208, 24234688511], key: 197d9eabdf12a7a549b438467a", "/24230494208: , errno: 30, strerror: Read-only f", " system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae6b97", "b970/24230494208: , errno: 30, strerror: Read-only fil", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438467ae"]

    (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