19819774 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 21:51.173
Run Time 00:07.477
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "86151",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 30
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757215963778,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkTFOxDAURI2QQCzZaIUotqOio+FE1o8zm7VwbMvf2Q9noOIanICGu2EnWQSNpXn+Hs/YWSm1lyuc4DN36ubzu4iUQmJ6lq3YfkDWLlCPnpTcHlwQ1nwM4ulRmiGQYz1a5nl7u+gEMscZtD6y7pETmVwtr6WpxGMqyDFdyrbqmMIYMspAK5tIA/TJQmqchw9p2CTAL6h43o2hsw4arxHJwhtUuonWn4Mp2VVXntIJbwvrlLr4kvs/OIFj8FwO72WHkWwJTjljjHmpujIuD1ObrLILU7lxLruSQ1n/gRDhl/YrMM6al2WkI+9Lz9+gLcVoJrA+f4B6f5K2m6zrkVZI6gcoK5sa",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78e3-7975-ab7b-0534d682ce65"
}

Recorded Output

%{
  events: 633533,
  errors: 49,
  widget_loaded: 0,
  flows_shown: 37,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 7,
  nps_neutrals: 3,
  nps_promoters: 14,
  page_views: 597905,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 440,
  nps_survey_responses: 24,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 35628,
  builder_events: 0
}

Errors

Attempt 1—3h 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
    45

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "ed data header: <uninitialized>): (while reading column timestamp): (attempt to read data part all_0_3337_8_1123866", "pymoiaqdlaglkiiixxighxazprzl (position: 503953111, typename: DB::AsynchronousBoundedReadBuffer, compres", "hile reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/", " offset: 503316480, caller id: 024003c1-399a-44ec-a4de-3336bf758719:2168, kind: Regular, unbound: 0: ", "003c1-399a-44ec-a4de-3336bf758719:2168, current writ", "_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 636631, downloader id: 02", "nt info: File segment: [503316480, 507510783], key: 764853d7fdea556dbff305a56d57d4cb, state: PARTIALL", "03c1-399a-44ec-a4de-3336bf758719:2168, file segm", "osition: 503985257, internal buffer end: 504365056, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 024", "hxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 503953111, read_until_", "he info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gpymoiaqdlaglkiiixxi", "te offset: 503316480, caller id: 024003c1-399a-44ec-a4de-3336bf758719:2168, kind: Regular, unbound: 0: Ca", "3c1-399a-44ec-a4de-3336bf758719:2168, current wr", "bff305a56d57d4cb, state: DOWNLOADING, downloaded size: 0, reserved size: 636631, downloader id: 0240", "507510783], key: 764853d7fdea556", "state: File segment: [503316480,", ", strerror: Read-only file system, current cache", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/764/764853d7fdea556dbff305a56d57d4cb/503316480: , errno: 3", "d4cb/503316480: , errno: 30, strerror: Read-only file s", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/764/764853d7fdea556dbff305a56d5"]

    (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