19827171 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 00:00.722
Run Time 00:01.911
Inserted 9h ago
Scheduled 8h ago
Completed 8h ago (00:02)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772762139901460,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkLZdOKs3MSUktik8tS80riUeVZiiXyCsoji8uLSpLrUSXAwCQVB3g",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79b3-705f-8958-273d6b54ac46"
}

Recorded Output

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

Errors

Attempt 3—8h ago

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

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

    # 1
    "dReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    45

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "tempt to read data part all_23863211_24202138_37_24192759 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "20478032366, typename: DB::Async", "mpressing ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position:", ": 20476592128, caller id: a2a5bc9d-f671-46bb-8c09-5716f8dd5c47:1727, kind: Regular, unbound: 0: While reading or dec", "-46bb-8c09-5716f8dd5c47:1727, current write offse", "tate: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: a2a5bc9d-f67", "786431], key: e2986a5b225503694ca8e4f2183a7502, ", "27, file segment info: File segment: [20476592128, 2048", " end: 20477640704, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: a2a5bc9d-f671-46bb-8c09-5716f8dd5c47:1", "032366, read_until_position: 20478235772, internal buffe", "03694ca8e4f2183a7502, file_offset_of_buffer_end: 2047", "h: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, hash key: e2986a5b225", ":1727, kind: Regular, unbound: 0: Cache info: Buffer pa", "6592128, caller id: a2a5bc9d-f671-46bb-8c09-5716f8dd5c4", "ize: 0, reserved size: 1048576, downloader id: a2a5bc9d-f671-46bb-8c09-5716f8dd5c47:1727, current write offset: 204", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20476592128, 20480786431], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20476592128: , errno: 30, strerror: Rea", "7502/20476592128: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183"]

    (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—8h 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 ", "ed>): (while reading column attributes): (attempt to read data part all_23863211_24202138_37_24192759 (state Active) faile", "qczgpvwmavzrhe (position: 20478032366, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitiali", "nbound: 0: While reading or decompressing ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgc", "a-2221-4f2c-ba48-076b90740081:1127, kind: Regular, ", "r id: c569053a-2221-4f2c-ba48-076b90740081:1127, current write offset: 20476592128, caller id: c56905", "reserved size: 1048576, download", "y: e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0,", "-2221-4f2c-ba48-076b90740081:1127, file segment info: File segment: [20476592128, 20480786431], k", "ion: 20478235772, internal buffer end: 20477640704, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c569053", "sh key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 20478032366, read_until_posi", "er path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, h", ":1127, kind: Regular, unbound: 0: Cache info: Buf", "6592128, caller id: c569053a-2221-4f2c-ba48-076b9074008", "ize: 0, reserved size: 1048576, downloader id: c569053a-2221-4f2c-ba48-076b90740081:1127, current write offset: 204", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20476592128, 20480786431], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20476592128: , errno: 30, strerror: Rea", "7502/20476592128: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183"]

    (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—8h ago

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

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

    # 1
    "al build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offici", "at some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "failed with error. It can mean t", "ading column attributes): (attempt to read data part all_23863211_24202138_37_24192759 (state Active)", ": 20478032366, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while r", " decompressing ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (positio", "bf36c24:2326, kind: Regular, unbound: 0: While reading o", "591-06da8bf36c24:2326, current write offset: 20476592128, caller id: b2e4f4cc-eb8a-4c75-a591-06da", "NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: b2e4f4cc-eb8a-4c75-", "gment: [20476592128, 20480786431], key: e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADED", "a-4c75-a591-06da8bf36c24:2326, file segment info: File s", " REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: b2e4f4cc-eb", "35772, internal buffer end: 20477640704, read_type", "mavzrhe, hash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 20478032366, read_until_position: 20478", "5-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpv", "path: ch-s3-963/aa8129e2-f47e-4b", ":2326, kind: Regular, unbound: 0: Cache info: Buffer", "6592128, caller id: b2e4f4cc-eb8a-4c75-a591-06da8bf36c2", "ize: 0, reserved size: 1048576, downloader id: b2e4f4cc-eb8a-4c75-a591-06da8bf36c24:2326, current write offset: 204", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20476592128, 20480786431], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20476592128: , errno: 30, strerror: Rea", "7502/20476592128: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183"]

    (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