19825555 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 04:41.951
Run Time 00:01.189
Inserted 19h ago
Scheduled 17h ago
Completed 17h ago (00:02)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760216088325,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlULJdOKs3MSUktik8tS80riUeVZiyXyCsoji8uLSpLrUSXAwCXAh3+",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7991-7418-ba16-b23be8e8b959"
}

Recorded Output

%{
  users_reached: 33,
  builder_event_users_reached: 1,
  nps_survey_users_reached: 1
}

Errors

Attempt 2—17h 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", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "86005_22284903_36_22488012 (state Active) failed with er", "d data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_21", "wywkjlctzzxlwskoenbibskfb (position: 14252794821, typename: DB::AsynchronousBoundedReadBuffer, compress", ": 0: While reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/bue", "a2f5-19f5a1757f41:1434, kind: Regular, unboun", "nloader id: fe2fb151-37d4-4070-a2f5-19f5a1757f41:1434, current write offset: 14252244992, caller id: fe2fb151-37d4-4070", "2def9fca65, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 549829, do", "52244992, 14256439295], key: 8bdd623835f487b01cc7e", "757f41:1434, file segment info: File segment: [14", "_FS_READ_AND_PUT_IN_CACHE, last caller: fe2fb151-37d4-4070-a2f5-19f5a", "nd: 14252794821, read_until_position: 14252843041, internal buffer end: 14253293568, read_type: REMOT", "3835f487b01cc7ef2def9fca65, file_offset_of_buffer_", " path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb, hash key: 8bdd6", "et: 14252244992, caller id: fe2fb151-37d4-4070-a2f5-19f5a1757f41:1434, kind: Regular, unbound: 0: Cache info: Buffe", "1-37d4-4070-a2f5-19f5a1757f41:1434, current write off", "7ef2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 549829, downloader id: fe2fb1", "4252244992, 14256439295], key: 8bdd623835f487b01c", "9fca65/14252244992: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/14252244992: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

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

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

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

    # 1
    "d))\n"

    # 2
    42

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "(state Active) failed with error", "alized>): (while reading column attributes): (attempt to read data part all_24567827_24590242_14_24589855", "rlwqwxqckjcgrg (position: 783285501, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninit", "ding or decompressing ch-s3-c70/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdme", "b41bcc:1077, kind: Regular, unbound: 0: While re", "-88b1-182410b41bcc:1077, current write offset: 780140544, caller id: edba8002-f395-402b-88b1-18241", "downloader id: edba8002-f395-402", "ARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576,", "ile segment info: File segment: [780140544, 784334847], key: 75aad6bb95b3354dcd408787b33172ab, state: ", "E_FS_READ_AND_PUT_IN_CACHE, last caller: edba8002-f395-402b-88b1-182410b41bcc:1077, ", "3378929, internal buffer end: 781189120, read_type: REMO", "ckjcgrg, hash key: 75aad6bb95b3354dcd408787b33172ab, file_offset_of_buffer_end: 783285501, read_until_position: 7", "5-bbcb-8441591d3836/mergetree/cjk/hmvxgsafwacdmeqrlwqwx", "path: ch-s3-c70/aa8129e2-f47e-4b", "ller id: edba8002-f395-402b-88b1-182410b41bcc:1077, kind: Regular, unbound: 0: Cache info: Buffer", "ze: 1048576, downloader id: edba8002-f395-402b-88b1-182410b41bcc:1077, current write offset: 780140544, c", "2ab, state: DOWNLOADING, downloaded size: 0, reserved s", " system, current cache state: File segment: [780140544, 784334847], key: 75aad6bb95b3354dcd408787b331", "ab/780140544: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/75a/75aad6bb95b3354dcd408787b3317", "72ab/780140544: , 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