19824962 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 04:45.833
Run Time 00:04.323
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "140132",
  "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" => 1772757965808599,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkU1uwyAUhOmmi9axoiqL3qS9DcJ47KBiQDxs0m3v02V2OVyfgUbtBmk+3s8MJCHEa37EBpdoEA+nNxYx+khK5EM244wkrVcjRgbPk/WZJJ19diy72StLcjFE5fpQdYTS5wJ6F0iOSFHpVEd2O3FYGdmyYtch+sUnlIKnoGbIzSCzHTFdc0c6Aq4iLnhZ/GAsJC4B0cBp1DbjmjFue7/l4z6Y1rjh8+739IdFUPCOSvMRizJsXKWEJaQatTHih9mTNDn4lTeWsI1MfP4DPsDV9A1oa/RHLRmUc5zz7qhXIegVJH8/QHx/5X5YjR0RG1TiB0RnmoU",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7965-7220-9f72-eddcfd5b529e"
}

Recorded Output

%{
  events: 70711,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 0,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 26293,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 14524,
  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: 44418,
  builder_events: 0
}

Errors

Attempt 3—18h ago

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

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

    # 1
    "ead). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["pool: PrefetchedReadPool, algorithm: Thr", "ble error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect", "ata part all_436042_438529_7_112386651 (state Active) failed with error. It can mean that some retry", "nchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column timestamp): (attempt to read ", "cb-8441591d3836/mergetree/hkp/fauiyblugbuaycdrxdrqwcsqnfsuc (position: 530776064, typename: DB::As", "b6641f:44243, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-b", "erved size: 4194304, downloader id: None, current write offset: 532676608, caller id: 7f8d5a80-2787-4d42-b95a-51c22", "5fce5c26, state: DOWNLOADED, downloaded size: 4194304, re", "6641f:44243, file segment info: File segment: [528482304, 532676607], key: 3106d5473c72a1fe90b871a", "il_position: 530806958, internal buffer end: 2293760, read_type: CACHED, last caller: 7f8d5a80-2787-4d42-b95a-51c22b", "iyblugbuaycdrxdrqwcsqnfsuc, hash key: 3106d5473c72a1fe90b871a95fce5c26, file_offset_of_buffer_end: 530776064, read_un", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/hkp/fa", "95fce5c26/528482304: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/310/3106d5473c72a1fe90b871"]

    (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 2—18h ago

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

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

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

    # 2
    51

    # 3
    67

    # 4
    [" MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (vers", "r. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executin", "hile reading column timestamp): (attempt to read data part all_436042_438529_7_112386651 (state Active) failed with err", "data header: <uninitialized>): (", "ee/hkp/fauiyblugbuaycdrxdrqwcsqnfsuc (position: 530776064, typename: DB::AsynchronousBoundedReadBuffer, compressed", "nd: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/merget", "r id: None, current write offset: 532676608, caller id: 03c7a73f-d81d-455a-a2b8-1f83b30f327f:41639, k", "reserved size: 4194304, download", "fce5c26, state: DOWNLOADED, downloaded size: 4194304,", "8482304, 532676607], key: 3106d5473c72a1fe90b871a9", "f327f:41639, file segment info: File segment: [5", "il_position: 530806958, internal buffer end: 2293760, read_type: CACHED, last caller: 03c7a73f-d81d-455a-a2b8-1f83b3", "iyblugbuaycdrxdrqwcsqnfsuc, hash key: 3106d5473c72a1fe90b871a95fce5c26, file_offset_of_buffer_end: 530776064, read_un", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/hkp/fa", "95fce5c26/528482304: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/310/3106d5473c72a1fe90b871"]

    (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—19h ago

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

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

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

    # 2
    51

    # 3
    67

    # 4
    ["refetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (versi", " error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: ", "rt all_436042_438529_7_112386651 (state Active) failed with error. It can mean that some retryabl", " (while reading column timestamp): (attempt to read data p", "drqwcsqnfsuc (position: 530776064, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>)", "b75-bbcb-8441591d3836/mergetree/hkp/fauiyblugbuaycdr", "0-15962f775a7e:43822, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-", "e: 4194304, reserved size: 4194304, downloader id: None, current write offset: 532676608, caller id: 9bde8d16-db9c-4604-ab", "state: DOWNLOADED, downloaded si", ", 532676607], key: 3106d5473c72a1fe90b871a95fce5c26,", "75a7e:43822, file segment info: File segment: [52848230", "il_position: 530806958, internal buffer end: 2293760, read_type: CACHED, last caller: 9bde8d16-db9c-4604-abd0-15962f", "iyblugbuaycdrxdrqwcsqnfsuc, hash key: 3106d5473c72a1fe90b871a95fce5c26, file_offset_of_buffer_end: 530776064, read_un", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/hkp/fa", "95fce5c26/528482304: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/310/3106d5473c72a1fe90b871"]

    (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