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

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772759568702787,
  "recorded" => true,
  "return" => "g1AAAABaeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYOC7VC6dVJqZk5JaFJ9alppXEo+uQky5XCKvoDi+uLSoLLUSQ5q1DgB3ZB96",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78da-7421-b669-1f63b4f3513b"
}

Recorded Output

%{
  users_reached: 3794,
  builder_event_users_reached: 5667,
  nps_survey_users_reached: 1406
}

Errors

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

    # 2
    55

    # 3
    67

    # 4
    ["ry: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_F", "led with error. It can mean that some retryable error happened, or data is corrupted. Please retry the qu", "e reading column account_id): (attempt to read data part all_15527333_15543436_18_22488012 (state Active) fa", "te offset: 4194304, caller id: a64924e8-652b-4a42-b02a-54cc4c54c104:2111, kind: Regular, unbound: 0: (whi", "te: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None, current wr", "94303], key: cf57fbbb916e8b686f208cb5f5ba0b1a, st", "c54c104:2111, file segment info: File segment: [0, 4", "tion: 2515859, internal buffer end: 2515700, read_type: CACHED, last caller: a64924e8-652b-4a42-b02a-54cc", "lvgjancudbjrdvlnvbdadyvoe, hash key: cf57fbbb916e8b686f208cb5f5ba0b1a, file_offset_of_buffer_end: 2515700, read_until_pos", "f47e-4b75-bbcb-8441591d3836/mergetree/kbf/uth", "5f5ba0b1a/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-219/aa8129e2", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/cf5/cf57fbbb916e8b686f208c"]

    (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
    53

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "): (attempt to read data part all_15527333_15543436_18_22488012 (state Active) failed with error. It", " unbound: 0: (while reading column account_i", "c42536-b06e-42af-9881-d11557076add:1523, kind: Regular", " current write offset: 4194304, caller id: 7", "OADED, downloaded size: 4194304, reserved size: 4194304, downloader id: None", "4303], key: cf57fbbb916e8b686f208cb5f5ba0b1a, state: DOWN", "7076add:1523, file segment info: File segment: [0, 41", "tion: 2515859, internal buffer end: 2515700, read_type: CACHED, last caller: 76c42536-b06e-42af-9881-d115", "lvgjancudbjrdvlnvbdadyvoe, hash key: cf57fbbb916e8b686f208cb5f5ba0b1a, file_offset_of_buffer_end: 2515700, read_until_pos", "f47e-4b75-bbcb-8441591d3836/mergetree/kbf/uth", "5f5ba0b1a/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-219/aa8129e2", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/cf5/cf57fbbb916e8b686f208c"]

    (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