19823219 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 05:20.320
Run Time 00:00.970
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:01)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772761090933644,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYOBcWy6dVJqZk5JaFJ9alppXEo+iIpGhXCKvoDi+uLSoLLUSXQ4Azkcekg",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7942-7e78-8d11-e7d3562814f7"
}

Recorded Output

%{
  users_reached: 2477,
  builder_event_users_reached: 0,
  nps_survey_users_reached: 0
}

Errors

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
    "efetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    41

    # 3
    67

    # 4
    ["rror happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Pr", "ead data part all_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that some retryable ", "column attributes): (attempt to ", "<uninitialized>): (while reading", "niynhwkpjubyyrqfhqvn (position: 9212365152, typename: DB::AsynchronousBoundedReadBuffer, compressed data header:", ", unbound: 0: While reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaq", "9672a4d-3bdd-45d6-a9ab-935173549fa2:2296, kind: Regula", "296, current write offset: 9210691584, caller id: ", ", downloader id: 69672a4d-3bdd-45d6-a9ab-935173549fa2:", "d9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 104857", "691584, 9214885887], key: 31211262ceb296d126dc7c", "segment info: File segment: [921", "CHE, last caller: 69672a4d-3bdd-45d6-a9ab-935173549fa2:2296, file", "_until_position: 9212723982, internal buffer end: 9211740160, read_type: REMOTE_FS_READ_AND_PUT_IN_C", "cad9682b2e5, file_offset_of_buffer_end: 9212365152, rea", "47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn, hash key: 31211262ceb296d126dc", "Buffer path: ch-s3-30f/aa8129e2-", "549fa2:2296, kind: Regular, unbound: 0: Cache info:", "10691584, caller id: 69672a4d-3bdd-45d6-a9ab-93517", "rved size: 1048576, downloader id: 69672a4d-3bdd-45d6-a9ab-935173549fa2:2296, current write offset: 9", " state: DOWNLOADING, downloaded size: 0, res", "e system, current cache state: File segment: [9210691584, 9214885887], key: 31211262ceb296d126dc7cad9682b2e5", "e5/9210691584: , errno: 30, strerror: Read-only fi", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b", "b2e5/9210691584: , 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