19834886 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 08:31.038
Run Time 00:01.443
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "225250",
  "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" => 1772758651352742,
  "recorded" => true,
  "return" => "g1AAAAGfeJxVkFFOxDAMRANCfLClWiE+OAj3idx0thuRJpGdNsuVOAHX4gakSXcFP5HmZWyPnZRSb/kRK3ySQan7ryKYAwup/JztOCFpF2jESO/5cHIhi5ZzyJ4ecjcFcqJnK1K+i79pBplzBb2PokckJpNay24jHktBro7YdOQwh4RqeIo0Qa8WeYtz9507MQz4horhZQ6DddC4RLCFN2hl1l+DqXzcusrCKz5v7PUPY0gMXmrlETPZkppSwhxTzX3YmZSrbGvscghLGVc33cmpvP9AiPBt9R0YZ81HswzkfVnylqinGM0C0e369JP7YbFuBF+J+gVjEZmH",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a7f-7bf3-a9e9-5ee4d4610b1b"
}

Recorded Output

%{
  events: 682,
  errors: 0,
  widget_loaded: 52,
  flows_shown: 4,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 440,
  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: 241,
  builder_events: 0
}

Errors

Attempt 2—10h ago

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

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

    # 1
    ".10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["le executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25", " error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: Wh", "139_24567826_35_24568582 (state Active) failed wit", "ata header: <uninitialized>): (while reading column attributes): (attempt to read data part all_2420", "g/mrbfykzlvusnsrfpctkenfqtzvqjj (position: 31237195368, typename: DB::AsynchronousBoundedReadBuffer, compressed ", "ound: 0: While reading or decompressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/o", "e-be1e-4022-a489-34d959beb88e:2125, kind: Regular, un", "r id: 8da11c5e-be1e-4022-a489-34d959beb88e:2125, current write offset: 31234981888, caller id: 8da11c", "reserved size: 1048576, download", "ececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", "-be1e-4022-a489-34d959beb88e:2125, file segment info: File segment: [31234981888, 31239176191], key: ", "ion: 31237204496, internal buffer end: 31236030464, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 8da11c5", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 31237195368, read_until_posi", "th: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "8e:2125, kind: Regular, unbound: 0: Cache info: Buffer p", "981888, caller id: 8da11c5e-be1e-4022-a489-34d959beb", " size: 1048576, downloader id: 8da11c5e-be1e-4022-a489-34d959beb88e:2125, current write offset: 3123", ": [31234981888, 31239176191], key: aececc170da7372f80e00e17ca41e0d9, state: DOWNLOADING, downloaded size: 0, reserve", "current cache state: File segmen", " errno: 30, strerror: Read-only file system,", " file system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/31234981888: ", "e0d9/31234981888: , errno: 30, strerror: Read-onl", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca4"]

    (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—10h 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", "tempt to read data part all_24202139_24567826_35_24568582 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "31237195368, typename: DB::Async", "mpressing ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj (position:", "unbound: 0: While reading or dec", " 4d8dd69b-6171-485c-8988-5bcc814b14de:1480, kind: Regular,", "480, current write offset: 31234981888, caller id", "6, downloader id: 4d8dd69b-6171-485c-8988-5bcc814b14de:", ": aececc170da7372f80e00e17ca41e0d9, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10485", "-6171-485c-8988-5bcc814b14de:1480, file segment info: File segment: [31234981888, 31239176191], ke", "ion: 31237204496, internal buffer end: 31236030464, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 4d8dd69", "sh key: aececc170da7372f80e00e17ca41e0d9, file_offset_of_buffer_end: 31237195368, read_until_posi", "r path: ch-s3-0ca/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/opg/mrbfykzlvusnsrfpctkenfqtzvqjj, h", "de:1480, kind: Regular, unbound: 0: Cache info: Buff", "981888, caller id: 4d8dd69b-6171-485c-8988-5bcc814b1", " size: 1048576, downloader id: 4d8dd69b-6171-485c-8988-5bcc814b14de:1480, current write offset: 3123", ": [31234981888, 31239176191], key: aececc170da7372f80e00e17ca41e0d9, state: DOWNLOADING, downloaded size: 0, reserve", "current cache state: File segmen", " errno: 30, strerror: Read-only file system,", " file system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca41e0d9/31234981888: ", "e0d9/31234981888: , errno: 30, strerror: Read-onl", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/aec/aececc170da7372f80e00e17ca4"]

    (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