19835866 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 14:02.238
Run Time 00:12.968
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:13)
Cancelled
Discarded

Args

%{
  "account_id" => "94742",
  "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" => 1772758695705346,
  "recorded" => true,
  "return" => "g1AAAAGfeJxVkFFOxDAMRCOB+KDdaoWQ4JObRW46241IkyhOazgMZ+JKJG1YwU+keXbsGWel1Ks8YIPPPCp1L0WkFBKTkpPYaUbWLtCEid6ku7ggrPkaxNOL9HMgx3qxzKVc+g+dQOa6g8FH1hNyIpPryE76SjzWgty+ouqYwhIy9p2PkWbozUKYvqRnkwDftJKnJYzWQeMjIll4g+OP9b+ulJzrSF7Ths/GOnn+wxI4Bs+ods5YyBbLlDOWmHfTXWNcTlIzNDmGtazbYzZyKe8/ECL8kbsB46x5P1pG8r4kvLkcKEazgvXt9HffMoyrdRNSg6R+ABzQmTs",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a94-7ad9-bdeb-a8e34f12aa3d"
}

Recorded Output

%{
  events: 1143,
  errors: 0,
  widget_loaded: 32,
  flows_shown: 23,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 11,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 157,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 11,
  nps_survey_responses: 11,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 975,
  builder_events: 0
}

Errors

Attempt 1—9h ago

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

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

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

    # 2
    44

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_13029461_13264514_26_22488012 (state Active) failed with error. It can mean that some re", "while reading column attributes): (attem", "tion: 6504567378, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "r decompressing ch-s3-bde/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/hxm/fpiocpwtyrjernwfozsgbpskexprj (pos", "27d:1535, kind: Regular, unbound: 0: While reading ", "3f0d9c53-d7b7-40c6-a1d4-da6c661e", "535, current write offset: 6501171200, caller id:", "6, downloader id: 3f0d9c53-d7b7-40c6-a1d4-da6c661e327d:", ": 5f282c1c1cb945b764857d307046f831, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10485", "er: 3f0d9c53-d7b7-40c6-a1d4-da6c661e327d:1535, file segment info: File segment: [6501171200, 6505365503], ke", "_position: 6504659195, internal buffer end: 6502219776, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last cal", "f831, file_offset_of_buffer_end: 6504567378, read_unti", "key: 5f282c1c1cb945b764857d30704", ": Buffer path: ch-s3-bde/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/hxm/fpiocpwtyrjernwfozsgbpskexprj, hash", "ite offset: 6501171200, caller id: 3f0d9c53-d7b7-40c6-a1d4-da6c661e327d:1535, kind: Regular, unbound: 0: Cache inf", "f0d9c53-d7b7-40c6-a1d4-da6c661e327d:1535, current w", "764857d307046f831, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: ", "ad-only file system, current cache state: File segment: [6501171200, 6505365503], key: 5f282c1c1cb945", "ckhouse-cache/sharedS3DiskCache/5f2/5f282c1c1cb945b764857d307046f831/6501171200: , errno: 30, strerror: R", "system: Cannot open file /mnt/cl", "f831/6501171200: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/5f2/5f282c1c1cb945b764857d30704"]

    (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