19834043 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:48.358
Run Time 00:01.281
Inserted 20h ago
Scheduled 18h ago
Completed 18h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "223233",
  "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" => 1772760592834325,
  "recorded" => true,
  "return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGAqL5dOKs3MSUktik8tS80ricdQ4VsukVdQHF9cWlSWWokqncgAAAL6HqU",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a6f-78ee-b342-ad8290cc3831"
}

Recorded Output

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

Errors

Attempt 3—18h 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
    45

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "13029460_34_22488012 (state Active) failed with error. It can mean that some retryable error ha", "ressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_12746906", "1318, typename: DB::AsynchronousBoundedReadBuffer, com", "g ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji (position: 160452", ": 5674b000-cb95-4bf0-b23c-960fec0d1719:2306, kind: Regular, unbound: 0: While reading or decompressi", "ize: 1048576, downloader id: 5674b000-cb95-4bf0-b23c-960fec0d1719:2306, current write offset: 16043212800, caller i", "RTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "gment info: File segment: [16043212800, 16047407103], key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: P", "D_PUT_IN_CACHE, last caller: 5674b000-cb95-4bf0-b23c-960fec0d1719:2306, file s", "_end: 16045261318, read_until_position: 16045290766, internal buffer end: 16044261376, read_type: REMOTE_FS_READ_A", "lr/hijswiaasoznqsibyrjwzymmvxcji, hash key: f4c4f70cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffe", " ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/", ":2306, kind: Regular, unbound: 0: Cache info: Buffer path", ", caller id: 5674b000-cb95-4bf0-b23c-960fec0d171", ": 1048576, downloader id: 5674b000-cb95-4bf0-b23c-960fec0d1719:2306, current write offset: 1604321280", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16043212800, 16047407103", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16043212800: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16043212800: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a"]

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

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

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

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

    # 2
    51

    # 3
    67

    # 4
    ["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FRO", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "17_14586090_10_22488012 (state Active) failed with er", "mpressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_14583", "896, typename: DB::AsynchronousBoundedReadBuffer, c", "g ch-s3-666/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ucx/udzyndeijtwqzcyvetfjnxsfvhabf (position: 603800", ": 9979a8bf-c462-4221-b472-a424454624eb:2291, kind: Regular, unbound: 0: While reading or decompressi", "wnloaded size: 2851915, reserved size: 2851915, downloader id: None, current write offset: 6038455371, caller i", "o: File segment: [6035603456, 6038455370], key: 1f5b3fc5e7685e3e6389c8873040d00f, state: DOWNLOADED, d", "979a8bf-c462-4221-b472-a424454624eb:2291, file segment in", "d: 6038003896, read_until_position: 6038031539, internal buffer end: 2400440, read_type: CACHED, last caller: ", " 1f5b3fc5e7685e3e6389c8873040d00f, file_offset_of_buffer_e", "h-s3-666/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ucx/udzyndeijtwqzcyvetfjnxsfvhabf, hash key", "error: Cache info: Buffer path: ", "73040d00f/6035603456: , errno: 5, strerror: Input/output", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/1f5/1f5b3fc5e7685e3e6389c8"]

    (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—18h 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
    44

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 2", "e Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "ized>): (while reading column attributes): (attempt to read data part all_12746906_13029460_34_22488012 (sta", "jwzymmvxcji (position: 16045261318, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitia", "ading or decompressing ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsiby", "538-4c33a69696f5:2163, kind: Regular, unbound: 0: While r", "17-4dfd-9538-4c33a69696f5:2163, current write offset: 16043212800, caller id: 7d230994-6a17-4dfd-", "ON, downloaded size: 0, reserved size: 1048576, downloader id: 7d230994-6", "egment: [16043212800, 16047407103], key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: PARTIALLY_DOWNLOADED_NO_CONTINUAT", "dfd-9538-4c33a69696f5:2163, file segment info: File ", "rnal buffer end: 16044261376, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 7d230994-6a17-", "6045261318, read_until_position: 16045290766, int", "0cdf0be15fcfbd2de8f5a2078a, file_offset_of_buffer_end: ", "ath: ch-s3-e63/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/blr/hijswiaasoznqsibyrjwzymmvxcji, hash key: f4c4f", ":2163, kind: Regular, unbound: 0: Cache info: Buffer ", ", caller id: 7d230994-6a17-4dfd-9538-4c33a69696f", ": 1048576, downloader id: 7d230994-6a17-4dfd-9538-4c33a69696f5:2163, current write offset: 1604321280", ", key: f4c4f70cdf0be15fcfbd2de8f5a2078a, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [16043212800, 16047407103", "t/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a2078a/16043212800: , errno: 30, strerror: ", "file system: Cannot open file /m", "078a/16043212800: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/f4c/f4c4f70cdf0be15fcfbd2de8f5a"]

    (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