19827435 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.307
Run Time 00:02.285
Inserted 8h ago
Scheduled 6h ago
Completed 6h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "208886",
  "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" => 1772760357690696,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79b7-7442-9b18-0c044afa523d"
}

Recorded Output

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

Errors

Attempt 3—6h 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", "20515556725, typename: DB::Async", "mpressing ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position:", "unbound: 0: While reading or dec", " 723336db-1186-4cc8-b7e8-7b5558e4ee69:1707, kind: Regular,", "707, current write offset: 20514340864, caller id", "6, downloader id: 723336db-1186-4cc8-b7e8-7b5558e4ee69:", ": e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 10485", "-1186-4cc8-b7e8-7b5558e4ee69:1707, file segment info: File segment: [20514340864, 20518535167], ke", "ion: 20515647483, internal buffer end: 20515389440, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 723336d", "sh key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 20515556725, read_until_posi", "r path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, h", "e4ee69:1707, kind: Regular, unbound: 0: Cache info: Buff", "4340864, caller id: 723336db-1186-4cc8-b7e8-7b555", "ize: 0, reserved size: 1048576, downloader id: 723336db-1186-4cc8-b7e8-7b5558e4ee69:1707, current write offset: 205", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20514340864, 20518535167], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20514340864: , errno: 30, strerror: Rea", "7502/20514340864: , 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—6h ago

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

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

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

    # 2
    44

    # 3
    67

    # 4
    ["ppened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefe", "mean that some retryable error h", "mn attributes): (attempt to read data part all_23863211_24202138_37_24192759 (state Active) failed with error. It can", "name: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading col", "2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position: 20515556725, typ", "044-8b4b9c000907:2223, kind: Regular, unbound: 0: While reading or decompressing ch-s3-963/aa8129", "b8-43fd-a044-8b4b9c000907:2223, current write offset: 20514340864, caller id: 5ab41521-3ab8-43fd-", "ON, downloaded size: 0, reserved size: 1048576, downloader id: 5ab41521-3", "83a7502, state: PARTIALLY_DOWNLOADED_NO_CONTINUAT", " 20518535167], key: e2986a5b225503694ca8e4f2", "223, file segment info: File segment: [20514340864", "d: 20515389440, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 5ab41521-3ab8-43fd-a044-8b4b9c000907:", "2183a7502, file_offset_of_buffer_end: 20515556725, read_until_position: 20515647483, internal buffer e", "hash key: e2986a5b225503694ca8e4", "441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe,", "000907:2223, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-", "4340864, caller id: 5ab41521-3ab8-43fd-a044-8b4b9", "ize: 0, reserved size: 1048576, downloader id: 5ab41521-3ab8-43fd-a044-8b4b9c000907:2223, current write offset: 205", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20514340864, 20518535167], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20514340864: , errno: 30, strerror: Rea", "7502/20514340864: , 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—6h ago

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

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

    # 1
    "d))\n"

    # 2
    44

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (official buil", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "02138_37_24192759 (state Active) failed with error", "ader: <uninitialized>): (while reading column attributes): (attempt to read data part all_23863211_24", "zgpvwmavzrhe (position: 20515556725, typename: DB::AsynchronousBoundedReadBuffer, compressed data h", "e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwq", "7b-4e6fd866d51a:1100, kind: Regular, unbound: 0: While reading or decompressing ch-s3-963/aa8129e2-f4", " id: 2bfd81bf-510d-40df-8e7b-4e6fd866d51a:1100, current write offset: 20514340864, caller id: 2bfd81bf-510d-40df-8", "WNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 1048576, downloade", "986a5b225503694ca8e4f2183a7502, state: PARTIALLY_D", "-510d-40df-8e7b-4e6fd866d51a:1100, file segment info: File segment: [20514340864, 20518535167], key: e", "ion: 20515647483, internal buffer end: 20515389440, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2bfd81b", "sh key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 20515556725, read_until_posi", "r path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, h", "66d51a:1100, kind: Regular, unbound: 0: Cache info: Buff", "4340864, caller id: 2bfd81bf-510d-40df-8e7b-4e6fd", "ize: 0, reserved size: 1048576, downloader id: 2bfd81bf-510d-40df-8e7b-4e6fd866d51a:1100, current write offset: 205", "694ca8e4f2183a7502, state: DOWNLOADING, downloaded ", "-only file system, current cache state: File segment: [20514340864, 20518535167], key: e2986a5b22550", "ache/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/20514340864: , errno: 30, strerror: Rea", "7502/20514340864: , 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