19815483 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 07:58.086
Run Time 00:01.966
Inserted 13h ago
Scheduled 12h ago
Completed 12h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "26660",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772759073067949,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUncXi6dVJqZk5JaFJ9alppXEo8qzVAukVdQHF9cWlSWWokm5w4AulMe2Q",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-786e-76dd-96de-02d7fa56e1df"
}

Recorded Output

%{
  users_reached: 183,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 71
}

Errors

Attempt 2—12h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "efetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    40

    # 3
    67

    # 4
    ["rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "It can mean that some retryable ", "590242_14_24589855 (state Active) failed with error.", "to read data part all_24567827_2", "uninitialized>): (while reading column attributes): (attempt", "xgsafwacdmeqrlwqwxqckjcgrg (position: 196114238, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: ", "0/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hm", "reading or decompressing ch-s3-c", "6-b5000a482dc1:1098, kind: Regular, unbound: 0: While", "caller id: cf813f03-c910-4881-a2", "current write offset: 192937984,", "ownloaded size: 0, reserved size: 1048576, downloader id: cf813f03-c910-4881-a256-b5000a482dc1:1098,", "7b33172ab, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, ", "482dc1:1098, file segment info: File segment: [192937984, 197132287], key: 75aad6bb95b3354dcd4087", "_FS_READ_AND_PUT_IN_CACHE, last caller: cf813f03-c910-4881-a256-b5000", "6207048, internal buffer end: 193986560, read_type: REMOT", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 196114238, read_until_position: 1", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: cf813f03-c910-4881-a256-b5000a482dc1:1098, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: cf813f03-c910-4881-a256-b5000a482dc1:1098, current write offset: 192937984, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [192937984, 197132287], key: 75aad6bb95b3354dcd408787b331", "ab/192937984: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/192937984: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

    (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—12h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "efetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    39

    # 3
    67

    # 4
    ["rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "It can mean that some retryable ", "590242_14_24589855 (state Active) failed with error.", "to read data part all_24567827_2", "uninitialized>): (while reading column attributes): (attempt", "xgsafwacdmeqrlwqwxqckjcgrg (position: 196114238, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: ", "0/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hm", "reading or decompressing ch-s3-c", "kind: Regular, unbound: 0: While", "84, caller id: 5efb86d7-4a7d-4d95-b33d-5501fd4e559e:1727,", "-b33d-5501fd4e559e:1727, current write offset: 192937", "downloader id: 5efb86d7-4a7d-4d9", " downloaded size: 0, reserved size: 1048576,", "3172ab, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "4e559e:1727, file segment info: File segment: [192937984, 197132287], key: 75aad6bb95b3354dcd408787b", "_FS_READ_AND_PUT_IN_CACHE, last caller: 5efb86d7-4a7d-4d95-b33d-5501f", "6207048, internal buffer end: 193986560, read_type: REMOT", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 196114238, read_until_position: 1", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: 5efb86d7-4a7d-4d95-b33d-5501fd4e559e:1727, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: 5efb86d7-4a7d-4d95-b33d-5501fd4e559e:1727, current write offset: 192937984, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [192937984, 197132287], key: 75aad6bb95b3354dcd408787b331", "ab/192937984: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/192937984: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b33"]

    (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