19833790 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 02:50.572
Run Time 00:03.685
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:04)
Cancelled
Discarded

Args

%{
  "account_id" => "222515",
  "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" => 1772758588055949,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkEtOxDAQRL0BCUiiEWLBLVizmqNYHacmY+HYlttJwykRx+AQSNhJZgQbS/Xcn6rOSqlnucUCn7lXN6/fRaQUEtNRWrHDiKxdoAEDKXk4uSCs+RzE0480YyDHerLM63e76QQy5xV0PrIekBOZXEcqaSrxmAtyVbdVxxSmkLEW3EcaoRcLqXbuPqVhkwC/oVLwOIXeOmi8RyQLb7C1WX8xpuRQp/KcFnxc2dMflsAxeF47D5jIFteUM6aYt5w743KVGmOXfZjLujXpTk7l/QdChN+i78A4a962kp68LyGvjjqK0cxgfbm+evmSrp+tG5B2SOoXcOWbOg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a69-7e97-9e0a-a7b4a3a75f0d"
}

Recorded Output

%{
  events: 342505,
  errors: 63,
  widget_loaded: 0,
  flows_shown: 253,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 330191,
  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: 12241,
  builder_events: 0
}

Errors

Attempt 3—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
    "efetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "ead data part all_12746906_13029460_34_22488012 (state Active) failed with error. It can mean that some retryable ", "column attributes): (attempt to ", "<uninitialized>): (while reading", "qsibyrjwzymmvxcji (position: 16037366393, typename: DB::AsynchronousBoundedReadBuffer, compressed data header:", "und: 0: While reading or decompressing ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoz", "bbf-4a23-94d2-d002932b88ce:2279, kind: Regular, unb", "oader id: 1190a948-3bbf-4a23-94d2-d002932b88ce:2279, current write offset: 16034824192, caller id: 1190a948-", "5a2078a, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, down", " 16039018495], key: f4c4f70cdf0be15fcfbd2de8", "279, file segment info: File segment: [16034824192", "EMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 1190a948-3bbf-4a23-94d2-d002932b88ce:", "035, internal buffer end: 16035872768, read_type: ", "mmvxcji, hash key: f4c4f70cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_end: 16037366393, read_until_position: 1603742", "5-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwz", "path: ch-s3-e63/aa8129e2-f47e-4b", "279, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 1190a948-3bbf-4a23-94d2-d002932b88ce:", ": 1048576, downloader id: 1190a948-3bbf-4a23-94d2-d002932b88ce:2279, current write offset: 1603482419", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16034824192, 16039018495", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16034824192: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16034824192: , 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 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
    ""

    # 2
    41

    # 3
    67

    # 4
    [" (version 25.10.1.7375 (official build))\n", " PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "012 (state Active) failed with error. It can mean that s", "nitialized>): (while reading column attributes): (attempt to read data part all_12746906_13029460_34_2248", "sibyrjwzymmvxcji (position: 16037366393, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <un", "d: 0: While reading or decompressing ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasozn", "eec-4b19-b182-0e23a84ab6ed:2406, kind: Regular, unbou", "oader id: c2c7923b-5eec-4b19-b182-0e23a84ab6ed:2406, current write offset: 16034824192, caller id: c2c7923b-", "5a2078a, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, down", " 16039018495], key: f4c4f70cdf0be15fcfbd2de8", "406, file segment info: File segment: [16034824192", "EMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c2c7923b-5eec-4b19-b182-0e23a84ab6ed:", "035, internal buffer end: 16035872768, read_type: ", "mmvxcji, hash key: f4c4f70cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_end: 16037366393, read_until_position: 1603742", "5-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwz", "path: ch-s3-e63/aa8129e2-f47e-4b", "406, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: c2c7923b-5eec-4b19-b182-0e23a84ab6ed:", ": 1048576, downloader id: c2c7923b-5eec-4b19-b182-0e23a84ab6ed:2406, current write offset: 1603482419", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16034824192, 16039018495", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16034824192: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16034824192: , 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
    "ion 25.10.1.7375 (official build))\n"

    # 2
    52

    # 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", "umn attributes): (attempt to read data part all_14356288_14359806_13_22488012 (state Active) failed with err", ":1718, kind: Regular, unbound: 0: (while reading co", ", caller id: b28bf9bb-b2a5-4eb4-bf24-5e26aedba9d", "90, downloader id: None, current write offset: 1176687271", " DOWNLOADED, downloaded size: 1849990, reserved size: 1849", "9], key: 4fc36a813f2cedc6607f332e2ab775a2, state", "28bf9bb-b2a5-4eb4-bf24-5e26aedba9d3:1718, file segment info: File segment: [11765022720, 117668727", "d: 11765091072, read_until_position: 11765129057, internal buffer end: 68352, read_type: CACHED, last caller: ", "m/tbfdjxslusgvvwztzlyczxlstnqzn, hash key: 4fc36a813f2cedc6607f332e2ab775a2, file_offset_of_buffer_e", "/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/c", "output error: Cache info: Buffer path: ch-s3-bd", "e2ab775a2/11765022720: , errno: 5, strerror: Input", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/4fc/4fc36a813f2cedc6607f33"]

    (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