19823598 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 10:22.734
Run Time 00:01.814
Inserted 7h ago
Scheduled 6h ago
Completed 5h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "129506",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 7
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757815915725,
  "recorded" => true,
  "return" => "g1AAAAG0eJxVkT1OAzEQhU0KJJLdJUEUSNSIQ3AAeloKyz+TxMJrG483AwfhDpQcAE6RinvQw2x2E5HG0vs0fn5vXIQQV3QKGwgFtbj5eWCRc8wsxNuWanJ2BUX6qCxYLabP3zRb+kgocR0paDF5/6RqFZVH2TpEsEpQPegMyqx3oAkJpYWSlSnsrc6p6kmAjpFHtaC61ynHNhbggVuaJrUCuXFAHOWs+aUKTQYIA2LPizZq50HCS4LsIBjo6TS5MGZjNe9dscsbeN3nFZMPuvyHM2CKAfnyPc2hVY6Dq1KgTWUXfTYy5A31TUapY8cv7sqOZMnnEYgJwtB+BMY78zSMaBUC9zyEuvuiRqVkOkC5/4zrxSM1unPeQj7Ak63+A7pboZg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-794a-79d2-a9a2-236f3793ade4"
}

Recorded Output

%{
  events: 2487378,
  errors: 38355,
  widget_loaded: 684505,
  flows_shown: 174268,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 15,
  nps_neutrals: 17,
  nps_promoters: 39,
  page_views: 593663,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 0,
  nps_survey_shown: 688,
  nps_survey_responses: 71,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 15293,
  appcues_events: 1773915,
  builder_events: 119650
}

Errors

Attempt 2—6h ago

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

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

    # 1
    "build))\n"

    # 2
    41

    # 3
    67

    # 4
    ["(version 25.10.1.7375 (official ", "e retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE)", "t can mean that some retryable error happened, or data is corrupted. Plea", "7_39947_8_112386651 (state Active) failed with error. ", "d data header: <uninitialized>): (while reading column timestamp): (attempt to read data part all_338", "3, typename: DB::AsynchronousBoundedReadBuffer, compress", "-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ulp/enwlzhuxvfbofeppkipxusyzgmzug (position: 14358337", "While reading or decompressing c", " offset: 1434451968, caller id: a47324f9-cf49-4cf9-9791-da1be701f84d:2301, kind: Regular, unbound: 0:", "loaded size: 0, reserved size: 1048576, downloader id: a47324f9-cf49-4cf9-9791-da1be701f84d:2301, current writ", "44dc0f, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", " 1438646271], key: 49580c5ff103c586d5136523b", "d:2301, file segment info: File segment: [1434451968", "OTE_FS_READ_AND_PUT_IN_CACHE, last caller: a47324f9-cf49-4cf9-9791-da1be701f8", ", internal buffer end: 1435500544, read_type: RE", "ey: 49580c5ff103c586d5136523b844dc0f, file_offset_of_buffer_end: 1435833783, read_until_position: 143586495", "th: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ulp/enwlzhuxvfbofeppkipxusyzgmzug, hash ", "unbound: 0: Cache info: Buffer p", " a47324f9-cf49-4cf9-9791-da1be701f84d:2301, kind: Regular,", "ize: 1048576, downloader id: a47324f9-cf49-4cf9-9791-da1be701f84d:2301, current write offset: 1434451968, caller id", ": [1434451968, 1438646271], key: 49580c5ff103c586d5136523b844dc0f, state: DOWNLOADING, downloaded size: 0, reserved ", "current cache state: File segmen", "51968: , errno: 30, strerror: Read-only file system,", "e system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/495/49580c5ff103c586d5136523b844dc0f/1434", "dc0f/1434451968: , errno: 30, strerror: Read-only fi", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/495/49580c5ff103c586d5136523b84"]

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

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

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

    # 1
    "build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["ool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official ", "While executing MergeTreeSelect(", "ed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query:", " reading column timestamp): (attempt to read data part all_83382_86137_8_112386651 (state Active) fai", "set: 696254464, caller id: 247db660-6109-431a-b2af-036117149437:2111, kind: Regular, unbound: 0: (whil", ": DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current write of", "96254463], key: 1dc2ecc5045c6bf0de4c11dfc6219c6e, stat", "info: File segment: [692060160, ", "r end: 14578, read_type: CACHED, last caller: 247db660-6109-431a-b2af-036117149437:2111, file segment", "e4c11dfc6219c6e, file_offset_of_buffer_end: 692074738, read_until_position: 692106747, internal buff", "2-f47e-4b75-bbcb-8441591d3836/mergetree/vjs/mcfzjnlremovcnzjjxahaxxstobir, hash key: 1dc2ecc5045c6bf0", "fc6219c6e/692060160: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8129", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/1dc/1dc2ecc5045c6bf0de4c11"]

    (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