19815074 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 07:53.107
Run Time 00:01.977
Inserted 5h ago
Scheduled 3h ago
Completed 3h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "81068",
  "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" => 1772756157669982,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkd1NxDAQhP2ATohLohMC6SiFFyqgB8tx5nIWjm28TpYrgRrpgRrY/PD3Ymk+za5n7KKUOvIOE0KhVl0fP0XkHLMIdf/ANbuuR9E+mg6dqXh/8pFJ0zlyEMvVhas+Gk96cETiUFyvOsPY8wKakEh3KNnYIouFVDMJGAX5WdezTjkOsWAx3CTTQ08OLDl2TyeuyGYgrEgMt0NsnYfGW0J2CBbrmAtbNvPMh3krjXnCZWOK7/6wDEox0DJ5wGCcpDalYEhlyb3fGMnbzDU22cZRrluabuQk5z8QE8JafQPWO/uyWloTgpT8SdSYlOwI0t9/oD5euWlH5zvkX/j++AXKxpvG",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7865-76ee-8783-93eb3dfb4271"
}

Recorded Output

%{
  events: 530670,
  errors: 5401,
  widget_loaded: 12,
  flows_shown: 1145,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 409190,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 76,
  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: 56177,
  builder_events: 35129
}

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
    "5.10.1.7375 (official build))\n"

    # 2
    46

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ing column timestamp): (attempt to read data part all_758787_765034_5_112386651 (state Active) faile", " (position: 924655575, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while rea", " or decompressing ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dvo/dpxfomwqrssuolmkmgqgypqjdckj", "ffset: 922746880, caller id: 0e323c5a-5f49-4247-a10e-d7fb3ea681e6:1638, kind: Regular, unbound: 0: While readin", " 0e323c5a-5f49-4247-a10e-d7fb3ea681e6:1638, current write ", "ADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id", "o: File segment: [922746880, 926941183], key: eb31e8745d202f12ca5a33ea525bb97a, state: PARTIALLY_DOWNL", "ead_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 0e323c5a-5f49-4247-a10e-d7fb3ea681e6:1638, file segment in", "internal buffer end: 923795456, ", "ey: eb31e8745d202f12ca5a33ea525bb97a, file_offset_of_buffer_end: 924655575, read_until_position: 924682213,", "r path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dvo/dpxfomwqrssuolmkmgqgypqjdckjx, hash ", "81e6:1638, kind: Regular, unbound: 0: Cache info: Buff", "746880, caller id: 0e323c5a-5f49-4247-a10e-d7fb3ea", "247-a10e-d7fb3ea681e6:1638, current write offset: 92", "97a, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 0e323c5a-5f49-", " system, current cache state: File segment: [922746880, 926941183], key: eb31e8745d202f12ca5a33ea525b", "e/sharedS3DiskCache/eb3/eb31e8745d202f12ca5a33ea525bb97a/922746880: , errno: 30, strerror: Read-only fil", "b97a/922746880: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cac", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/eb3/eb31e8745d202f12ca5a33ea525"]

    (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—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
    "0.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["(CANNOT_OPEN_FILE) (version 25.1", "se retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread).", " Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Ple", ">): (while reading column timestamp): (attempt to read data part all_758787_765034_5_112386651 (stat", "qjdckjx (position: 924655575, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialize", "5-bbcb-8441591d3836/mergetree/dvo/dpxfomwqrssuolmkmgqgy", "e-35329cbec317:2283, kind: Regular, unbound: 0: While reading or decompressing ch-s3-aa8129e2-f47e-4b", "caller id: 856cecb5-f61a-48bd-87", ": 1048576, downloader id: 856cecb5-f61a-48bd-87ee-35329cbec317:2283, current write offset: 922746880,", "downloaded size: 0, reserved siz", "25bb97a, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION,", "ec317:2283, file segment info: File segment: [922746880, 926941183], key: eb31e8745d202f12ca5a33ea", "nal buffer end: 923795456, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 856cecb5-f61a-48bd-87ee-35329c", "h key: eb31e8745d202f12ca5a33ea525bb97a, file_offset_of_buffer_end: 924655575, read_until_position: 924682213, inte", "836/mergetree/dvo/dpxfomwqrssuolmkmgqgypqjdckjx, ha", "c317:2283, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d", "746880, caller id: 856cecb5-f61a-48bd-87ee-35329cb", "8bd-87ee-35329cbec317:2283, current write offset: 92", "97a, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 856cecb5-f61a-", " system, current cache state: File segment: [922746880, 926941183], key: eb31e8745d202f12ca5a33ea525b", "e/sharedS3DiskCache/eb3/eb31e8745d202f12ca5a33ea525bb97a/922746880: , errno: 30, strerror: Read-only fil", "b97a/922746880: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cac", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/eb3/eb31e8745d202f12ca5a33ea525"]

    (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—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
    "_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_READ", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed 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_103774619_104411269_30_112386651 (state Ac", "kind: Regular, unbound: 0: (whil", "er id: None, current write offset: 515899392, caller id: abc6d35e-6384-47d1-9517-e15ee9020a8b:32263,", "OWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloa", "91], key: 0586616230113e2522fae55cd0e169b7, state: ", "32263, file segment info: File segment: [511705088, 515899", ": 512057461, internal buffer end: 327558, read_type: CACHED, last caller: abc6d35e-6384-47d1-9517-e15ee9020a8b", "ijgnlg, hash key: 0586616230113e2522fae55cd0e169b7, file_offset_of_buffer_end: 512032646, read_until_positio", "t error: Cache info: Buffer path: ch-s3-c39/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/xuz/xlicjdddzrheowwjbqufvy", "cd0e169b7/511705088: , errno: 5, strerror: Input/outp", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/058/0586616230113e2522fae5"]

    (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