19819523 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 02:30.462
Run Time 00:04.950
Inserted 13h ago
Scheduled 12h ago
Completed 11h ago (00:05)
Cancelled
Discarded

Args

%{
  "account_id" => "112790",
  "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" => 1772760905837748,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYBA6Xy6dVJqZk5JaFJ9alppXEo+ugv9PuUReQXF8cWlRWWolqnQiAwAx+x/J",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78ce-7a18-88ef-2c1d59510901"
}

Recorded Output

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

Errors

Attempt 2—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
    "tchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["etryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "pt to read data part all_4367134_4408939_26_22488012 (state Active) failed with error. It can mean that some ", "-4c0a-af67-324771809e8f:2060, kind: Regular, unbound: 0: (while reading column attributes): (atte", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 4bd30b91-120", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 4bd30b91-120a-4c0a-af67-324771809e8f:2060, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

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

    # 2
    52

    # 3
    67

    # 4
    ["geTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ". It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing Me", "8939_26_22488012 (state Active) failed with erro", "to read data part all_4367134_44", "-4f84-bb9c-37da5b1398d8:1718, kind: Regular, unbound: 0: (while reading column attributes): (attempt", "served size: 4194304, downloader id: None, current write offset: 17175674880, caller id: 717129c9-196", "ae6b970, state: DOWNLOADED, downloaded size: 4194304, r", " 17175674879], key: 197d9eabdf12a7a549b43846", "info: File segment: [17171480576", "ED, last caller: 717129c9-196d-4f84-bb9c-37da5b1398d8:1718, file segment", "076336, internal buffer end: 2518918, read_type: CAC", "hozuccytk, hash key: 197d9eabdf12a7a549b438467ae6b970, file_offset_of_buffer_end: 17173999494, read_until_position: 1717", "tput error: Cache info: Buffer path: ch-s3-863/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/oes/ntbojrnlvaiysxfxgpd", "67ae6b970/17171480576: , errno: 5, strerror: Input/o", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/197/197d9eabdf12a7a549b438"]

    (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