19832530 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 09:07.262
Run Time 00:05.514
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "218944",
  "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" => 1772758483102912,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkU1OxDAMRgMLkKCtRogFN5oNEkeI0vSbTkSaRHbaDGw5A1fhCmw5Eu7PjGAT6T19duwkK6Weyg0mhMytenn+FiCKJKCuqNTFdT2y9tF06Iwq9wcfC2s+xhIk8nFdqj4az3pwzEuiXplg7BGdZPbvpQmJdYdMxmbpLalqNgGjKD9zPXOiOMSMJXCXTA89ORQZZf/5Uyq2BIRVSeBhiK3z0DglkEOwWMtc2MYT2s1deaQJbxf3+McROMXAS+UOg3EyuMkZQ8rrtptjeR7BZsM2jnLdsuxmDnL+EzEhLOJcY72zr2ukNSHIkpeJGpOSHcH6/A23X6fStKPzHWiTRv0CBT2c+Q",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a50-7162-9731-11039a5b2914"
}

Recorded Output

%{
  events: 5196999,
  errors: 370,
  widget_loaded: 0,
  flows_shown: 33538,
  goals_missed: 0,
  goals_reached: 18298,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 4691408,
  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: 505464,
  builder_events: 0
}

Errors

Attempt 2—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
    "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", "ead data part all_12661296_12746905_20_22488012 (state Active) failed with error. It can mean that some retryable ", "column attributes): (attempt to ", "<uninitialized>): (while reading", "gvmiglrrdawumkrbuhdn (position: 34175891613, typename: DB::AsynchronousBoundedReadBuffer, compressed data header:", "bound: 0: While reading or decompressing ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihufl", "4752-aaa3-b85782813042:2389, kind: Regular, u", "ader id: dfddaae4-17d1-4752-aaa3-b85782813042:2389, current write offset: 34175188992, caller id: dfddaae4-17d1", "ED_NO_CONTINUATION, downloaded size: 0, reserved size: 702621, downl", " segment: [34175188992, 34179383295], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DOWNLOA", "ype: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: dfddaae4-17d1-4752-aaa3-b85782813042:2389, file segment info: Fil", "4176258383, internal buffer end: 34176237568, read_", "ash key: 49ac74b9c9401e4b14d7512160e71c27, file_offset_of_buffer_end: 34175891613, read_until_position: ", "fer path: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn, ", "042:2389, kind: Regular, unbound: 0: Cache info: Bu", " caller id: dfddaae4-17d1-4752-aaa3-b8578281", ": 702621, downloader id: dfddaae4-17d1-4752-aaa3-b85782813042:2389, current write offset: 34175188992", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [34175188992, 34179383295", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/34175188992: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/34175188992: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]

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

    # 2
    44

    # 3
    67

    # 4
    ["uting MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.", "an mean that some retryable error happened, or data is corrupted. Please retry the query: While exe", "46905_20_22488012 (state Active) failed with error. It ", "ader: <uninitialized>): (while reading column attributes): (attempt to read data part all_12661296_12", "qgvmiglrrdawumkrbuhdn (position: 34175891613, typename: DB::AsynchronousBoundedReadBuffer, compressed data h", "-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuf", "7-ad82-477166798730:2384, kind: Regular, unbound: 0: While reading or decompressing ch-s3-660/aa8129e", "275-b91c-4de7-ad82-477166798730:2384, current write offset: 34175188992, caller id: 74a9d275-b91c-4d", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 702621, downloader id: 74a9", "nfo: File segment: [34175188992, 34179383295], key: 49ac74b9c9401e4b14d7512160e71c27, state: PARTIALLY_DO", "FS_READ_AND_PUT_IN_CACHE, last caller: 74a9d275-b91c-4de7-ad82-477166798730:2384, file segment ", ": 34175891613, read_until_position: 34176258383, internal buffer end: 34176237568, read_type: REMOTE", "b9c9401e4b14d7512160e71c27, file_offset_of_buffer_en", "ath: ch-s3-660/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/qgx/cntihuflqgvmiglrrdawumkrbuhdn, hash key: 49ac7", "730:2384, kind: Regular, unbound: 0: Cache info: Buffer ", " caller id: 74a9d275-b91c-4de7-ad82-47716679", ": 702621, downloader id: 74a9d275-b91c-4de7-ad82-477166798730:2384, current write offset: 34175188992", ", key: 49ac74b9c9401e4b14d7512160e71c27, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [34175188992, 34179383295", "ckhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e71c27/34175188992: , errno: 30, strerror: ", "system: Cannot open file /mnt/cl", "1c27/34175188992: , errno: 30, strerror: Read-only file", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/49a/49ac74b9c9401e4b14d7512160e"]

    (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