19833946 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 08:47.366
Run Time 00:02.436
Inserted 6h ago
Scheduled 5h ago
Completed 4h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "222921",
  "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" => 1772758594534804,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkVFOwzAQRF0q+gFJVCE+UI/EJSzHnqYWjm15nRgOwHmQuAqn4BZs4hTBj6V5ml3v7GYhxFM5YIbP1IvDu2GRUkgsxO13aYs1A7J0QRkYJcr92YVCki6heLbs9qUZgnIkR0u0OtqqE5S+rKDzkaRBTkpnbsykWYjHxMgtul10TGEMGavhLqoBcrYoPMfN16k0pBPgK2LDwxh66yDxGpEsvEYts36bjdVx6UpTmvH2yx7/sASKwdNaecSoLE+tcsYYc426MeLdLDE22YeJv1uTbuTM7z8QInyNvgHtrH6pll55zyGvG9x9+NKpGPUEktcz7D+fS9dP1hmkDSrxAwkNm+o",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6d-7f04-9d30-d0f43e9cb218"
}

Recorded Output

%{
  events: 427364,
  errors: 1513,
  widget_loaded: 0,
  flows_shown: 259,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 185114,
  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: 110446,
  appcues_events: 242250,
  builder_events: 0
}

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
    "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_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "17666070573, typename: DB::Async", "mpressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position:", "unbound: 0: While reading or dec", " 0b962d9b-d520-4940-9aba-df7e8bdee295:1029, kind: Regular,", "029, current write offset: 17662214144, caller id", "6, downloader id: 0b962d9b-d520-4940-9aba-df7e8bdee295:", ": 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10485", "-d520-4940-9aba-df7e8bdee295:1029, file segment info: File segment: [17662214144, 17666408447], ke", "ion: 17666283614, internal buffer end: 17663262720, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 0b962d9", "sh key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 17666070573, read_until_posi", "th: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, h", "9, kind: Regular, unbound: 0: Cache info: Buffer p", ", caller id: 0b962d9b-d520-4940-9aba-df7e8bdee295:10", ": 1048576, downloader id: 0b962d9b-d520-4940-9aba-df7e8bdee295:1029, current write offset: 1766221414", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [17662214144, 17666408447", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/17662214144: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/17662214144: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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
    "ld))\n"

    # 2
    51

    # 3
    67

    # 4
    ["dReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official bui", "yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", "error. It can mean that some ret", "058_14394993_10_22488012 (state Active) failed with", "ata header: <uninitialized>): (while reading column attributes): (attempt to read data part all_1439", "bt/ranbbmhylxhnnzkouxklnrudcndgq (position: 5637813499, typename: DB::AsynchronousBoundedReadBuffer, compressed ", "/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", " id: 078e4445-ae8a-4d39-b4eb-f4eba7646f12:1113, kind: Regular, unbound: 0: While reading or decompressing ch-s3-34", "d size: 1479933, reserved size: 1479933, downloader id: None, current write offset: 5638624509, calle", "fo: File segment: [5637144576, 5638624508], key: 31b682f11f34580b0bf67fd839901889, state: DOWNLOADED, download", "8e4445-ae8a-4d39-b4eb-f4eba7646f12:1113, file segment i", "d: 5637813499, read_until_position: 5637875322, internal buffer end: 668923, read_type: CACHED, last caller: 0", "1f34580b0bf67fd839901889, file_offset_of_buffer_e", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pbt/ranbbmhylxhnnzkouxklnrudcndgq, hash key: 31b682f", "839901889/5637144576: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-340/a", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/31b/31b682f11f34580b0bf67f"]

    (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