19816154 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 13:47.417
Run Time 00:03.322
Inserted 7h ago
Scheduled 6h ago
Completed 6h ago (00:04)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756322509281,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkT1OxDAQRi2EtmA32RUCiWJL7mU59rdZC8e2PE4MFaehpKXmIoiD0DD52QgaS+9pZvyNnYUQD2WDAT5TIx7f3xhSColBbL5KVaxpkaULysCwu/4s25MLhSSdQ/Fs7r/Lrg3KkewsEYwSpZo5Qekzi9dS+0jSICelM8/mkt1oPHpWbuRq5JhCFzKmgpuoWsjBonCUffNTdqQT4GfFBbddaKyDxHNEsvAac5v1SzamwziV+jTgZXV3f1wCxeBp6jygU5ZTq5zRxTwtsl0c8fMw1gs2oefrpk0Xc+LznwgRfhKXHu2sfppLGuU9L7kmqlWMugfJyzdcfexL3fTWGaRViqP5BZUNnkE",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-787a-74b4-82eb-d18cd3a2b142"
}

Recorded Output

%{
  events: 2403749,
  errors: 1757,
  widget_loaded: 1216,
  flows_shown: 5599,
  goals_missed: 0,
  goals_reached: 127,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1008379,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 177679,
  builder_events: 7268
}

Errors

Attempt 2—6h 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
    44

    # 3
    67

    # 4
    ["rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "It can mean that some retryable ", "ng column timestamp): (attempt to read data part all_0_3337_8_112386651 (state Active) failed with error.", "l (position: 542601729, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while read", "41591d3836/mergetree/nsd/gpymoiaqdlaglkiiixxighxazpr", "00f:2121, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8", " caller id: d3de9e3f-2fed-459a-a18d-a12e7782", "a-a18d-a12e7782c00f:2121, current write offset: 541065216", "e: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: d3de9e3f-2fed-45", "59519], key: 764853d7fdea556dbff305a56d57d4cb, sta", "ller: d3de9e3f-2fed-459a-a18d-a12e7782c00f:2121, file segment info: File segment: [541065216, 545", "l_position: 542628932, internal buffer end: 542113792, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last c", "iiixxighxazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 542601729, read_unt", ": 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gpymoiaqdlagl", "a18d-a12e7782c00f:2121, kind: Regular, unboun", "9e3f-2fed-459a-a18d-a12e7782c00f:2121, current write offset: 541065216, caller id: d3de9e3f-2fed-459a", "bff305a56d57d4cb, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: d3d", "545259519], key: 764853d7fdea556", "state: File segment: [541065216,", ", strerror: Read-only file system, current cache", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/764/764853d7fdea556dbff305a56d57d4cb/541065216: , errno: 3", "d4cb/541065216: , 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

Attempt 1—6h ago

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

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

    # 1
    "25.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["ile executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "rror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: W", "ing column timestamp): (attempt to read data part all_0_3337_8_112386651 (state Active) failed with ", ": 542601729, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while rea", "r decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/nsd/gpymoiaqdlaglkiiixxighxazprzl (positio", "e offset: 541065216, caller id: fe3bff79-0e09-4ed3-8bf6-4a989de0ea40:1698, kind: Regular, unbound: 0: While reading ", "0e09-4ed3-8bf6-4a989de0ea40:1698, current wri", "NTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: fe3bff79", " info: File segment: [541065216, 545259519], key: 764853d7fdea556dbff305a56d57d4cb, state: PARTIALLY_DOWNLOADED_NO_C", "0e09-4ed3-8bf6-4a989de0ea40:1698, file segmen", "ition: 542628932, internal buffer end: 542113792, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: fe3bff79", "xazprzl, hash key: 764853d7fdea556dbff305a56d57d4cb, file_offset_of_buffer_end: 542601729, read_until_po", "5-bbcb-8441591d3836/mergetree/nsd/gpymoiaqdlaglkiiixxig", "d3-8bf6-4a989de0ea40:1698, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b", "ff79-0e09-4ed3-8bf6-4a989de0ea40:1698, current write offset: 541065216, caller id: fe3bff79-0e09-4", "bff305a56d57d4cb, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: fe3", "545259519], key: 764853d7fdea556", "state: File segment: [541065216,", ", strerror: Read-only file system, current cache", "stem: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/764/764853d7fdea556dbff305a56d57d4cb/541065216: , errno: 3", "d4cb/541065216: , 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