19834030 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 08:45.196
Run Time 00:01.823
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "223164",
  "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" => 1772758602811698,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtOxDAQRL1ALJhMZoRYcAU2XMnqODUZC6dtuZ0Y7sChcewQwcZSPfenqpNS6jU/YgUnGZR6vxQRo49CKp+zHSck7TyNGAs43ZzPouXuM9Mpd5MnJ3q2IvX73HQEmXsFPQfRI1Ikk9rIbiOMpSBXV2w6RD/7hFrwFGiCXi3yZuct5U5MBLihUvA8+8E6aHwGRAs2aG2Wf42pfN2myhJXfB3s5Q+LkOBZaucVM9nimlLCHFLLuTMpV9li7HLwS1lXk+7kVt5/wAdwi74D46z5aCUDMZeQh6OeQjALRB/Xf/jO/bBYNyLukC4/BayYfg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6f-7cf3-ac11-0db3bcac77ee"
}

Recorded Output

%{
  events: 11791,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 11,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 10612,
  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: 1164,
  builder_events: 15
}

Errors

Attempt 2—5h ago

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

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

    # 1
    "(official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["refetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 ", " some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: ", " (state Active) failed with error. It can mean tha", ": <uninitialized>): (while reading column attributes): (attempt to read data part all_12746906_13029460_34_2248801", "byrjwzymmvxcji (position: 16045261318, typename: DB::AsynchronousBoundedReadBuffer, compressed data heade", "ile reading or decompressing ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqs", "rent write offset: 16043212800, caller id: 05e1467e-c17d-4791-b967-9e1e28bd341f:2338, kind: Regular, unbound: 0: W", "ded size: 0, reserved size: 1048576, downloader id: 05e1467e-c17d-4791-b967-9e1e28bd341f:2338, cu", "8a, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downlo", ":2338, file segment info: File segment: [16043212800, 16047407103], key: f4c4f70cdf0be15fcfbd2de8f5a20", "ND_PUT_IN_CACHE, last caller: 05e1467e-c17d-4791-b967-9e1e28bd341", "d: 16045261318, read_until_position: 16045290766, internal buffer end: 16044261376, read_type: REMOTE_FS_READ_", " f4c4f70cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_e", "36/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji, hash key", ":2338, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3", ", caller id: 05e1467e-c17d-4791-b967-9e1e28bd341", ": 1048576, downloader id: 05e1467e-c17d-4791-b967-9e1e28bd341f:2338, current write offset: 1604321280", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16043212800, 16047407103", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16043212800: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16043212800: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a"]

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

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

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

    # 1
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_12746906_13029460_34_22488012 (state Active) failed with error. It can mean that some re", "chronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attem", "position: 16045261318, typename: DB::Asy", "g or decompressing ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji ", "1c1:2305, kind: Regular, unbound: 0: While readi", "5444500b-1a1d-4dff-998b-f5706036", "305, current write offset: 16043212800, caller id:", "6, downloader id: 5444500b-1a1d-4dff-998b-f570603601c1:", ": f4c4f70cdf0be15fcfbd2de8f5a2078a, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10485", "-1a1d-4dff-998b-f570603601c1:2305, file segment info: File segment: [16043212800, 16047407103], ke", "ion: 16045290766, internal buffer end: 16044261376, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 5444500", "sh key: f4c4f70cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_end: 16045261318, read_until_posi", "er path: ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji, h", ":2305, kind: Regular, unbound: 0: Cache info: Buf", ", caller id: 5444500b-1a1d-4dff-998b-f570603601c", ": 1048576, downloader id: 5444500b-1a1d-4dff-998b-f570603601c1:2305, current write offset: 1604321280", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16043212800, 16047407103", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16043212800: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16043212800: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a"]

    (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