19822342 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 19:00.168
Run Time 00:07.465
Inserted 11h ago
Scheduled 10h ago
Completed 9h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "104214",
  "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" => 1772757569982715,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkcFNxDAURM2FA5uNVoAEFSBRBhfasGxnNmvh2Ja/E0Md3LhRA6IVRAe0wU8cFrhYmqf53zN2FkJcl1NM8Jm0eP+6Z5FSSCw2b89lW2zXI0sXVIdOibLZu1BI0iEUr4W4C6Xpg3IkB0u0OLZVJyhzWEDrI8kOOSmTeTGTZiYeIyM36+2sYwpDyFgMZ1H1kJNF4RxXrxelIZMAXxEbzoegrYPEY0Sy8AZ1zPrfbCcvZTcvpjFNeKqYTZd/WALF4GkZ3mFQloOrnDHEXNuujPh55iar1GHkG5eyK9nz+Q+ECF/br8A4ax6qRSvvuecxUatiNCNI/nyDu/ksrR6t65COUNx+fANw156w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7930-7209-ba2b-e1a72b04f439"
}

Recorded Output

%{
  events: 11921222,
  errors: 766867,
  widget_loaded: 0,
  flows_shown: 16751,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 1548563,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 410,
  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: 7087832,
  builder_events: 10710
}

Errors

Attempt 1—10h 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
    42

    # 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 ", "lized>): (while reading column timestamp): (attempt to read data part all_225559_228074_7_1123866", "compressed data header: <uniniti", "57146, typename: DB::AsynchronousBoundedReadBuffer,", "mpressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rcm/dzpaxcbmrwwoyzzxnwtlfrznylxek (position: 558", "d03:2125, kind: Regular, unbound: 0: While reading or dec", "2a5d46d9-45a0-4db0-9232-a03b2f5e", "ownloader id: 2a5d46d9-45a0-4db0-9232-a03b2f5e9d03:2125, current write offset: 557842432, caller id:", " downloaded size: 0, reserved size: 514714, ", "8d37, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "5e9d03:2125, file segment info: File segment: [557842432, 562036735], key: b7a2f63f5164f974fe89294a52a", "_FS_READ_AND_PUT_IN_CACHE, last caller: 2a5d46d9-45a0-4db0-9232-a03b2", "393822, internal buffer end: 558891008, read_type: REMOT", "zxnwtlfrznylxek, hash key: b7a2f63f5164f974fe89294a52a18d37, file_offset_of_buffer_end: 558357146, read_until_position: 55", ": 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rcm/dzpaxcbmrwwoy", "a0-4db0-9232-a03b2f5e9d03:2125, kind: Regular, unboun", "557842432, caller id: 2a5d46d9-4", "9232-a03b2f5e9d03:2125, current write offset:", "37, state: DOWNLOADING, downloaded size: 0, reserved size: 514714, downloader id: 2a5d46d9-45a0-4db0", "2432, 562036735], key: b7a2f63f5164f974fe89294a52a18", "37/557842432: , errno: 30, strerror: Read-only file system, current cache state: File segment: [5578", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/b7a/b7a2f63f5164f974fe89294a52a18", "8d37/557842432: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/b7a/b7a2f63f5164f974fe89294a52a"]

    (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