19825163 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 3 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 04:52.334
Run Time 00:03.388
Inserted 13h ago
Scheduled 12h ago
Completed 12h ago (00:04)
Cancelled
Discarded

Args

%{
  "account_id" => "140797",
  "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" => 1772760173806625,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7978-7156-a11a-5c93d930d010"
}

Recorded Output

%{users_reached: 0, builder_event_users_reached: 0, 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
    ""

    # 2
    41

    # 3
    67

    # 4
    [" (version 25.10.1.7375 (official build))\n", " PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "012 (state Active) failed with error. It can mean that s", "nitialized>): (while reading column attributes): (attempt to read data part all_17102825_17152363_15_2248", "AsynchronousBoundedReadBuffer, compressed data header: <un", "bcb-8441591d3836/mergetree/pqs/vvyctejxekqwdyfcaajgrxcrsgjbg (position: 10654274192, typename: DB:", "4fee512:2312, kind: Regular, unbound: 0: While reading or decompressing ch-s3-117/aa8129e2-f47e-4b75-", "id: b7202624-044a-45c7-b97d-5f7d", "2:2312, current write offset: 10653532160, caller", " 742032, downloader id: b7202624-044a-45c7-b97d-5f7de4fee5", "8ea922360814965b19d76, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size", " File segment: [10653532160, 10657726463], key: 62be65ee73", "-044a-45c7-b97d-5f7de4fee512:2312, file segment info", "ion: 10654370011, internal buffer end: 10654580736, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: b720262", "sh key: 62be65ee73e8ea922360814965b19d76, file_offset_of_buffer_end: 10654274192, read_until_posi", "r path: ch-s3-117/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/pqs/vvyctejxekqwdyfcaajgrxcrsgjbg, h", ":2312, kind: Regular, unbound: 0: Cache info: Buff", "32160, caller id: b7202624-044a-45c7-b97d-5f7de4fee51", " size: 742032, downloader id: b7202624-044a-45c7-b97d-5f7de4fee512:2312, current write offset: 10653", ": [10653532160, 10657726463], key: 62be65ee73e8ea922360814965b19d76, state: DOWNLOADING, downloaded size: 0, reserve", "current cache state: File segmen", " errno: 30, strerror: Read-only file system,", " file system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/62b/62be65ee73e8ea922360814965b19d76/10653532160: ", "9d76/10653532160: , errno: 30, strerror: Read-onl", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/62b/62be65ee73e8ea922360814965b"]

    (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
    "al build))\n"

    # 2
    42

    # 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", "2 (state Active) failed with error. It can mean t", "tialized>): (while reading column attributes): (attempt to read data part all_18507108_18839149_33_224880", "chgrwshntzrgyvir (position: 15581467257, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unin", "7e-4b75-bbcb-8441591d3836/mergetree/cuh/poahmjkkvfue", "13-51dde2317511:2354, kind: Regular, unbound: 0: While reading or decompressing ch-s3-ed4/aa8129e2-f", " id: 9f24297d-68d2-444f-bd13-51dde2317511:2354, current write offset: 15577645056, caller id: 9f24297d-68d2-444f-b", "WNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "a41540c72191aa53221d1fe3e45e, state: PARTIALLY_D", "2-444f-bd13-51dde2317511:2354, file segment info: File segment: [15577645056, 15581839359], key: 158", " REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 9f24297d-68", "81528967, internal buffer end: 15578693632, read_type", "zrgyvir, hash key: 1580a41540c72191aa53221d1fe3e45e, file_offset_of_buffer_end: 15581467257, read_until_position: 15", "5-bbcb-8441591d3836/mergetree/cuh/poahmjkkvfueschgrwshn", "path: ch-s3-ed4/aa8129e2-f47e-4b", "511:2354, kind: Regular, unbound: 0: Cache info: Buffer", " caller id: 9f24297d-68d2-444f-bd13-51dde231", "eserved size: 1048576, downloader id: 9f24297d-68d2-444f-bd13-51dde2317511:2354, current write offset: 15577645056", "fe3e45e, state: DOWNLOADING, downloaded size: 0, ", " system, current cache state: File segment: [15577645056, 15581839359], key: 1580a41540c72191aa53221d", "5e/15577645056: , errno: 30, strerror: Read-only fil", "ile system: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/158/1580a41540c72191aa53221d1fe3e", "e45e/15577645056: , errno: 30, strerror: Read-only ", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/158/1580a41540c72191aa53221d1fe"]

    (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