19827539 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 10:07.615
Run Time 00:07.945
Inserted 13h ago
Scheduled 12h ago
Completed 12h ago (00:08)
Cancelled
Discarded

Args

%{
  "account_id" => "208987",
  "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" => 1772760369423118,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79ba-75a7-9527-2c7b24d4a28c"
}

Recorded Output

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

Errors

Attempt 1—12h ago

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

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

    # 1
    "lgorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    44

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "14512357_19_22488012 (state Active) failed with error. It can mean that some retryable error ha", "der: <uninitialized>): (while reading column attributes): (attempt to read data part all_14498239", "baymmpeudwmcrl (position: 27656104578, typename: DB::AsynchronousBoundedReadBuffer, compressed data he", "nbound: 0: While reading or decompressing ch-s3-982/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lym/wuuiijpomlnxho", "4813653-29e9-49ae-b187-bc8dc608f034:2286, kind: Regular, ", "der id: 94813653-29e9-49ae-b187-bc8dc608f034:2286, current write offset: 27653046272, caller id: ", "_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downlo", "le segment: [27653046272, 27657240575], key: d20f4bd6e7314aac1f688542bbdfc409, state: PARTIALLY_DOWNLOADE", "e: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 94813653-29e9-49ae-b187-bc8dc608f034:2286, file segment info: F", "buffer end: 27654094848, read_ty", "04578, read_until_position: 27656175770, internal", "file_offset_of_buffer_end: 27656", " hash key: d20f4bd6e7314aac1f688542bbdfc409,", "d3836/mergetree/lym/wuuiijpomlnxhofbaymmpeudwmcrl", "034:2286, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-982/aa8129e2-f47e-4b75-bbcb-844159", "046272, caller id: 94813653-29e9-49ae-b187-bc8dc608", " size: 1048576, downloader id: 94813653-29e9-49ae-b187-bc8dc608f034:2286, current write offset: 2765", ": [27653046272, 27657240575], key: d20f4bd6e7314aac1f688542bbdfc409, state: DOWNLOADING, downloaded size: 0, reserve", "dfc409/27653046272: , errno: 30, strerror: Read-only file system, current cache state: File segmen", "sharedS3DiskCache/d20/d20f4bd6e7314aac1f688542b", "c409/27653046272: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/d20/d20f4bd6e7314aac1f688542bbd"]

    (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