19831203 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 4 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 02:09.359
Run Time 00:01.856
Inserted 1d ago
Scheduled 23h ago
Completed 22h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "215145",
  "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" => 1772760516848509,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7a36-7852-b643-9c2280bc5876"
}

Recorded Output

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

Errors

Attempt 3—23h 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
    46

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_23863211_24202138_37_24192759 (state Active) failed with error. It can mean that some re", "while reading column attributes): (attem", "mavzrhe (position: 21039969974, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "5-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpv", "f84e3473:1094, kind: Regular, unbound: 0: While reading or decompressing ch-s3-963/aa8129e2-f47e-4b", "5-bb12-83ccf84e3473:1094, current write offset: 21038628864, caller id: 188e59e5-6f35-43c5-bb12-83c", "e: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 188e59e5-6f35-43", "ile segment info: File segment: [21038628864, 21047017471], key: e2986a5b225503694ca8e4f2183a7502, sta", "type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 188e59e5-6f35-43c5-bb12-83ccf84e3473:1094, ", "1049738770, internal buffer end: 21039677440, read", "ash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 21039969974, read_until_position: ", "91d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, ", "3473:1094, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441", "8628864, caller id: 188e59e5-6f35-43c5-bb12-83ccf84", "ize: 0, reserved size: 1048576, downloader id: 188e59e5-6f35-43c5-bb12-83ccf84e3473:1094, current write offset: 210", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [21038628864, 21047017471], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/21038628864: , errno: 30, strerror: Rea", "7502/21038628864: , 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—23h 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", "t to read data part all_23863211_24202138_37_24192759 (state Active) failed with error. It can mean that some re", "while reading column attributes): (attem", "mavzrhe (position: 21039969974, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "5-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpv", " While reading or decompressing ch-s3-963/aa8129e2-f47e-4b", " offset: 21038628864, caller id: 90c3a860-9fea-44ee-97fd-298b81b51587:2151, kind: Regular, unbound: 0", "a860-9fea-44ee-97fd-298b81b51587:2151, current writ", "NLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 90c", "nfo: File segment: [21038628864, 21047017471], key: e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DO", "-9fea-44ee-97fd-298b81b51587:2151, file segment ", "ion: 21049738770, internal buffer end: 21039677440, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 90c3a86", "sh key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 21039969974, read_until_posi", "er path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, h", "1587:2151, kind: Regular, unbound: 0: Cache info: Buf", "8628864, caller id: 90c3a860-9fea-44ee-97fd-298b81b", "ize: 0, reserved size: 1048576, downloader id: 90c3a860-9fea-44ee-97fd-298b81b51587:2151, current write offset: 210", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [21038628864, 21047017471], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/21038628864: , errno: 30, strerror: Rea", "7502/21038628864: , 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—23h 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
    44

    # 3
    67

    # 4
    ["ryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetche", "t to read data part all_23863211_24202138_37_24192759 (state Active) failed with error. It can mean that some re", "while reading column attributes): (attem", "mavzrhe (position: 21039969974, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): ", "5-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpv", " While reading or decompressing ch-s3-963/aa8129e2-f47e-4b", " offset: 21038628864, caller id: d21258e5-0479-41d1-a06a-d34bea5dae9b:1127, kind: Regular, unbound: 0", "loaded size: 0, reserved size: 1048576, downloader id: d21258e5-0479-41d1-a06a-d34bea5dae9b:1127, current writ", ", state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", ", 21047017471], key: e2986a5b225503694ca8e4f2183a750", "127, file segment info: File segment: [2103862886", "TE_FS_READ_AND_PUT_IN_CACHE, last caller: d21258e5-0479-41d1-a06a-d34bea5dae9b:", "38770, internal buffer end: 21039677440, read_type: REM", "he, hash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 21039969974, read_until_position: 21049", "591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavz", "ae9b:1127, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-844", "8628864, caller id: d21258e5-0479-41d1-a06a-d34bea5", "ize: 0, reserved size: 1048576, downloader id: d21258e5-0479-41d1-a06a-d34bea5dae9b:1127, current write offset: 210", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [21038628864, 21047017471], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/21038628864: , errno: 30, strerror: Rea", "7502/21038628864: , 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