19827127 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 02:23.724
Run Time 00:00.676
Inserted 12h ago
Scheduled 10h ago
Completed 10h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "109452",
  "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" => 1772760353230700,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79b1-7729-9d27-895e3f02c04a"
}

Recorded Output

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

Errors

Attempt 3—10h ago

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

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

    # 1
    "7375 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["ct(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.", " retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSel", "with error. It can mean that som", "3863211_24202138_37_24192759 (state Active) failed", "ecf:1570, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_", "a1369b87-9016-4fd4-8015-d70ad62d", "loaded size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 578813952, caller id:", "o: File segment: [574619648, 578813951], key: e3dd5cce29b78d675e4b7476d405db24, state: DOWNLOADED, dow", "9b87-9016-4fd4-8015-d70ad62dfecf:1570, file segment in", "d: 574971508, read_until_position: 575007716, internal buffer end: 351860, read_type: CACHED, last caller: a13", " e3dd5cce29b78d675e4b7476d405db24, file_offset_of_buffer_e", "h-s3-5f3/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/eot/vawfahxivryxbwmojtnrywzzbulqx, hash key", "error: Cache info: Buffer path: ", "6d405db24/574619648: , errno: 5, strerror: Input/output", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/e3d/e3dd5cce29b78d675e4b74"]

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

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

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

    # 1
    "E) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FIL", "an that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "03_36_22488012 (state Active) failed with error. It can m", "sed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_21886005_22284", "4821, typename: DB::AsynchronousBoundedReadBuffer, compre", "g ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 142527", ": 2955c9d5-8fc2-4abf-8f03-efd013fff407:2356, kind: Regular, unbound: 0: While reading or decompressi", "ownloader id: 2955c9d5-8fc2-4abf-8f03-efd013fff407:2356, current write offset: 14252244992, caller i", " downloaded size: 0, reserved size: 549829, ", " state: PARTIALLY_DOWNLOADED_NO_CONTINUATION", "8bdd623835f487b01cc7ef2def9fca65", "[14252244992, 14256439295], key:", "CACHE, last caller: 2955c9d5-8fc2-4abf-8f03-efd013fff407:2356, file segment info: File segment:", "_until_position: 14252843041, internal buffer end: 14253293568, read_type: REMOTE_FS_READ_AND_PUT_IN", "ctzzxlwskoenbibskfb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 14252794821, rea", ": 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkj", "8f03-efd013fff407:2356, kind: Regular, unboun", "5-8fc2-4abf-8f03-efd013fff407:2356, current write offset: 14252244992, caller id: 2955c9d5-8fc2-4abf", "7ef2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 549829, downloader id: 2955c9", "4252244992, 14256439295], key: 8bdd623835f487b01c", "9fca65/14252244992: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/14252244992: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (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—10h 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_OPEN_FILE) (version 25.10.1.7375 (official build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "903_36_22488012 (state Active) failed with error. It", "read data part all_21886005_2228", "dBuffer, compressed data header: <uninitialized>): (while reading column attributes): (attempt to", "rgetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 14252794821, typename: DB::AsynchronousBoundedRe", "s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/m", "afbfe3f-3b3b-4333-b99c-87ad42654eb9:2383, kind: Regular, unbound: 0: While reading or decompressing ch", "der id: fafbfe3f-3b3b-4333-b99c-87ad42654eb9:2383, current write offset: 14252244992, caller id: ", "9fca65, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 549829, downlo", "2244992, 14256439295], key: 8bdd623835f487b01cc7ef2de", "segment info: File segment: [142", "_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: fafbfe3f-3b3b-4333-b99c-87ad42654eb9:2383, file", "4252843041, internal buffer end: 14253293568, rea", "skoenbibskfb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 14252794821, read_until_position: ", "he info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxl", "fset: 14252244992, caller id: fafbfe3f-3b3b-4333-b99c-87ad42654eb9:2383, kind: Regular, unbound: 0: Ca", "f-3b3b-4333-b99c-87ad42654eb9:2383, current write o", "7ef2def9fca65, state: DOWNLOADING, downloaded size: 0, reserved size: 549829, downloader id: fafbfe", "4252244992, 14256439295], key: 8bdd623835f487b01c", "9fca65/14252244992: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/14252244992: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (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