19833214 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 02:52.779
Run Time 00:05.028
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:06)
Cancelled
Discarded

Args

%{
  "account_id" => "221069",
  "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" => 1772758539539568,
  "recorded" => true,
  "return" => "g1AAAAGieJxVkM1OwzAQhM2FA6RRhUDiUqlvZjnONLVwvNauE5e349Fw7FDgYmk+78/MJqXUe37EipBkUA9f5yKYicWofMhunJC0JzNiLOD54imLlivlUGQ3kfGiZydSvw9NM4y9VtCHKHpEYmNTG9ltJGApyNcVm45MMyXUgqdoJujVIW92Tm+5E8tAaKgUvMw0OA+NWwQ7BIvW5sKvseM2VRZe8Xlnr38YQyIFqZ1HzMYV1yYlzDG1nDuTcpUtxi4HWsq6mnQnl/L+AxQRWvQdWO/sRysZTAgl5N1Rb2K0C0T/XF+dzrkfFudH8A6N+gaGuphL",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a5e-716b-87c4-68fb05fa4465"
}

Recorded Output

%{
  events: 114720,
  errors: 0,
  widget_loaded: 0,
  flows_shown: 0,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 72981,
  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: 7456,
  builder_events: 0
}

Errors

Attempt 3—3h ago

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

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

    # 1
    "cial build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offi", "h error. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executi", "96311_12661295_36_22488012 (state Active) failed wi", "d data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_12", "iy/jcoefmaqpniynhwkpjubyyrqfhqvn (position: 14820359503, typename: DB::AsynchronousBoundedReadBuffer, compress", "hile reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", "39-b9cec1772a8c:2377, kind: Regular, unbound: 0: ", " id: 41f43a23-4171-4fb6-a139-b9cec1772a8c:2377, current write offset: 14818476032, caller id: 41f43a23-4171-4fb6-a", "5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "6032, 14822670335], key: 31211262ceb296d126dc7cad9682b2", "a8c:2377, file segment info: File segment: [148184", "S_READ_AND_PUT_IN_CACHE, last caller: 41f43a23-4171-4fb6-a139-b9cec177", "765, internal buffer end: 14819524608, read_type: REMOTE_", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14820359503, read_until_position: 1482042", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", "377, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: 41f43a23-4171-4fb6-a139-b9cec1772a8c:", ": 1048576, downloader id: 41f43a23-4171-4fb6-a139-b9cec1772a8c:2377, current write offset: 1481847603", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14818476032, 14822670335", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14818476032: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14818476032: , 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 2—3h ago

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

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

    # 1
    "25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["he query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "tate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry ", "itialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (", "hqvn (position: 14820359503, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uni", " or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrq", "e offset: 14818476032, caller id: fc957b0a-263f-4924-8852-27ea61af4c77:2310, kind: Regular, unbound: 0: While readin", "wnloaded size: 0, reserved size: 1048576, downloader id: fc957b0a-263f-4924-8852-27ea61af4c77:2310, current wri", "82b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, d", "32, 14822670335], key: 31211262ceb296d126dc7cad9", "c77:2310, file segment info: File segment: [14818476", "S_READ_AND_PUT_IN_CACHE, last caller: fc957b0a-263f-4924-8852-27ea61af", "765, internal buffer end: 14819524608, read_type: REMOTE_", "rqfhqvn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 14820359503, read_until_position: 1482042", "5-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjuby", "path: ch-s3-30f/aa8129e2-f47e-4b", "310, kind: Regular, unbound: 0: Cache info: Buffer", ", caller id: fc957b0a-263f-4924-8852-27ea61af4c77:", ": 1048576, downloader id: fc957b0a-263f-4924-8852-27ea61af4c77:2310, current write offset: 1481847603", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [14818476032, 14822670335", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/14818476032: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/14818476032: , 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—3h ago

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

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

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

    # 2
    52

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "733_15_22488012 (state Active) failed with error. It", "eader: <uninitialized>): (while reading column attributes): (attempt to read data part all_14359807_1437", "onuhradepaynmqteznmqielbqekd (position: 29843521536, typename: DB::AsynchronousBoundedReadBuffer, compressed data ", "58/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rue/", "81-a9e0-4d77-a669-67f12b65be79:44998, kind: Regular, unbound: 0: While reading or decompressing ch-s3-", "nloaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 29846667264, caller id: 84f46", "t info: File segment: [29842472960, 29846667263], key: 8d42596c5da7f66d7da04b63e0ad8ddc, state: DOWNLOADED, do", "a9e0-4d77-a669-67f12b65be79:44998, file segme", "_until_position: 29843578617, internal buffer end: 1048576, read_type: CACHED, last caller: 84f46f81", "znmqielbqekd, hash key: 8d42596c5da7f66d7da04b63e0ad8ddc, file_offset_of_buffer_end: 29843521536, rea", "ut error: Cache info: Buffer path: ch-s3-658/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/rue/ronuhradepaynmqt", "3e0ad8ddc/29842472960: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/8d4/8d42596c5da7f66d7da04b"]

    (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