19817375 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 02:37.034
Run Time 00:06.242
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:07)
Cancelled
Discarded

Args

%{
  "account_id" => "74570",
  "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" => 1772759298946893,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGBUK5dOKs3MSUktik8tS80riUdRkchQLpFXUBxfXFpUllqJLgcArLseAw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7896-78b7-9424-9b2a808ef8b9"
}

Recorded Output

%{
  users_reached: 294,
  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
    "IPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCR", "th error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "e reading column name): (attempt to read data part all_13029461_13264514_26_22488012 (state Active) failed w", "t write offset: 4194304, caller id: 543deaa6-3551-492a-bf44-ec55d9e6fd0b:2088, kind: Regular, unbound: 0: (whi", ", reserved size: 4194304, downloader id: None, curre", " info: File segment: [0, 4194303], key: 031cc38f7e5541eeb7ffbbe72176dbe2, state: DOWNLOADED, downloaded size: 419430", "3551-492a-bf44-ec55d9e6fd0b:2088, file segmen", "until_position: 2518918, internal buffer end: 2518572, read_type: CACHED, last caller: 543deaa6", "ynouohluaeid, hash key: 031cc38f7e5541eeb7ffbbe72176dbe2, file_offset_of_buffer_end: 2518572, read", "e-4b75-bbcb-8441591d3836/mergetree/ryx/vzpforckssgokoil", "72176dbe2/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-f4c/aa8129e2-f4", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/031/031cc38f7e5541eeb7ffbb"]

    (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—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
    "ion 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    [" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (vers", "ith error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", "746906_13029460_34_22488012 (state Active) failed ", "(attempt to read data part all_1", " unbound: 0: (while reading column user_id):", "urrent write offset: 700448768, caller id: 66048ae7-3c24-4b1a-98fd-bd5b39c571fc:2062, kind: Regular", "f152c7, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, ", "571fc:2062, file segment info: File segment: [696254464, 700448767], key: 41f4bcbe61f8a2362da617969", " last caller: 66048ae7-3c24-4b1a-98fd-bd5b39", " 696728511, internal buffer end: 438338, read_type: CACHED", "wicma, hash key: 41f4bcbe61f8a2362da617969bf152c7, file_offset_of_buffer_end: 696692802, read_until_position", "ror: Cache info: Buffer path: ch-s3-019/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/frg/lvtmihfbpronwbdoojxswal", "69bf152c7/696254464: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/41f/41f4bcbe61f8a2362da617"]

    (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
    "0.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.1", "at some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "failed with error. It can mean t", "ding column user_id): (attempt to read data part all_12746906_13029460_34_22488012 (state Active)", " write offset: 700448768, caller id: f6fa7c2a-b479-4a64-8bea-eee0a52b10a3:2063, kind: Regular, unbound: 0: (while re", "7, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, curren", "4464, 700448767], key: 41f4bcbe61f8a2362da617969bf152", "b10a3:2063, file segment info: File segment: [6962", " last caller: f6fa7c2a-b479-4a64-8bea-eee0a5", " 696728511, internal buffer end: 438338, read_type: CACHED", "wicma, hash key: 41f4bcbe61f8a2362da617969bf152c7, file_offset_of_buffer_end: 696692802, read_until_position", "ror: Cache info: Buffer path: ch-s3-019/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/frg/lvtmihfbpronwbdoojxswal", "69bf152c7/696254464: , errno: 5, strerror: Input/output e", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/41f/41f4bcbe61f8a2362da617"]

    (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