19815034 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 13:55.663
Run Time 00:03.388
Inserted 5h ago
Scheduled 4h ago
Completed 3h ago (00:04)
Cancelled
Discarded

Args

%{
  "account_id" => "34621",
  "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" => 1772756156054249,
  "recorded" => true,
  "return" => "g1AAAAGoeJxVkUFOBCEURNFEF2N3Z2JceAJPMvcgNF3TQ6SB8KHRE3gw9268kL8bnOiGpF7qf6ogCSGeyz1WuESjuHuRLGL0kYW4+Sh9MdOMJK1XEyYlysPZ+kKSLr44thxOpZu9siQXQ7Q7+qojlL7sYHCB5IQUlU68mEm3EYfMyG6633SIfvEJu+EQ1Ay5GhTOcbt+l450BFxFbHhc/GgsJN4CooHTqGPGtWysjttWynHF+5U9/WERFLyjffKIRRlOrVLCElKt2hjx22w1mhx95uv2po2c+fwHfICr1RvQ1ujXahmVc1zymmhQIegMkr9/ID6/yjBmYyfEBpX4Acetmzg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7865-701b-889e-de118d33ce3b"
}

Recorded Output

%{
  events: 337503,
  errors: 391,
  widget_loaded: 0,
  flows_shown: 2628,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 161491,
  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: 50126,
  builder_events: 0
}

Errors

Attempt 2—4h 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_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    48

    # 3
    67

    # 4
    ["0_179587466: While executing MergeTreeSelect(pool: P", "ppened, or data is corrupted. Please retry the query: While reading part all_179349391_179985582_", "mean that some retryable error h", "79587466 (state Active) failed with error. It can", "part all_179349391_179985582_40_", "ompressed data header: <uninitialized>): (while reading column user_id.size): (attempt to read data", "6000, typename: DB::AsynchronousBoundedReadBuffer, ", "-s3-c52/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ejn/ocmlcwukksncvzwcqdtfrfabwuxxt (position: 1551", "While reading or decompressing c", "6-b7f1012eaba4:43177, kind: Regular, unbound: 0:", "e: 8388608, reserved size: 8388608, downloader id: None, current write offset: 159383552, caller id: a1ebc4c8-3219-4edb-bb", "state: DOWNLOADED, downloaded si", "94944, 159383551], key: 360b23ffd05c42bbfc9da35330e51984,", "eaba4:43177, file segment info: File segment: [150", "il_position: 155199569, internal buffer end: 4141056, read_type: CACHED, last caller: a1ebc4c8-3219-4edb-bb06-b7f101", "bwuxxt, hash key: 360b23ffd05c42bbfc9da35330e51984, file_offset_of_buffer_end: 155136000, read_un", "t error: Cache info: Buffer path: ch-s3-c52/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ejn/ocmlcwukksncvzwcqdtfrf", "330e51984/150994944: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/360/360b23ffd05c42bbfc9da3"]

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

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

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

    # 1
    "orithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    51

    # 3
    67

    # 4
    ["182183749_183088244_71_183081682: While executing MergeTreeSelect(pool: PrefetchedReadPool, alg", " mean that some retryable error happened, or data is corrupted. Please retry the query: While reading part all", "Active) failed with error. It ca", " reading column user_id.size): (attempt to read data part all_182183749_183088244_71_183081682 (state", "kind: Regular, unbound: 0: (whil", "er id: None, current write offset: 184549376, caller id: cdc61d12-c09c-4d09-90f2-c7718a67dcda:39644,", "OWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloa", "75], key: c5532c84ea84246c7969e2c9f06caf25, state: ", "39644, file segment info: File segment: [180355072, 184549", " CACHED, last caller: cdc61d12-c09c-4d09-90f2-c7718a67dcda", "82985907, internal buffer end: 2574274, read_type", "182929346, read_until_position: ", "ea84246c7969e2c9f06caf25, file_offset_of_buffer_end:", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/psf/ghhgwejndiohrpvrhuwlgikyrxhei, hash key: c5532c8", "9f06caf25/180355072: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-715/a", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/c55/c5532c84ea84246c7969e2"]

    (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