19821995 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:08.204
Run Time 00:01.248
Inserted 18h ago
Scheduled 17h ago
Completed 17h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "125320",
  "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" => 1772759842060892,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-791c-72ed-9ed3-f88faa14e10d"
}

Recorded Output

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

Errors

Attempt 4—17h ago

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

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

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

    # 2
    44

    # 3
    67

    # 4
    ["algorithm: Thread). (CANNOT_OPEN", " While executing MergeTreeSelect(pool: PrefetchedReadPool,", "ive) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry the query", "ialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (state Ac", "jubyyrqfhqvn (position: 10553791519, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <unini", "le reading or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwk", "fset: 10552868864, caller id: 9c9851bd-1533-4d1d-a843-22d17903a932:2350, kind: Regular, unbound: 0: Wh", "1bd-1533-4d1d-a843-22d17903a932:2350, current write o", "O_CONTINUATION, downloaded size: 0, reserved size: 922655, downloader id: 9c98", ": File segment: [10552868864, 10557063167], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_", "READ_AND_PUT_IN_CACHE, last caller: 9c9851bd-1533-4d1d-a843-22d17903a932:2350, file segment inf", ", internal buffer end: 10553917440, read_type: REMOTE_FS", "n, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 10553791519, read_until_position: 1055385975", "41591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhq", "932:2350, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8", " caller id: 9c9851bd-1533-4d1d-a843-22d17903", ": 922655, downloader id: 9c9851bd-1533-4d1d-a843-22d17903a932:2350, current write offset: 10552868864", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [10552868864, 10557063167", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/10552868864: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/10552868864: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

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

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

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

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

    # 2
    45

    # 3
    67

    # 4
    ["he query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version ", "tate Active) failed with error. It can mean that some retryable error happened, or data is corrupted. Please retry ", "itialized>): (while reading column attributes): (attempt to read data part all_12396311_12661295_36_22488012 (", "hqvn (position: 10553791519, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uni", "ng or decompressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrq", "ffset: 10552868864, caller id: 9707477b-85e3-4a43-b569-42ae8e8ba508:2182, kind: Regular, unbound: 0: While read", "77b-85e3-4a43-b569-42ae8e8ba508:2182, current write ", "O_CONTINUATION, downloaded size: 0, reserved size: 922655, downloader id: 9707", ": File segment: [10552868864, 10557063167], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_", "READ_AND_PUT_IN_CACHE, last caller: 9707477b-85e3-4a43-b569-42ae8e8ba508:2182, file segment inf", ", internal buffer end: 10553917440, read_type: REMOTE_FS", "n, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 10553791519, read_until_position: 1055385975", "41591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhq", "508:2182, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8", " caller id: 9707477b-85e3-4a43-b569-42ae8e8b", ": 922655, downloader id: 9707477b-85e3-4a43-b569-42ae8e8ba508:2182, current write offset: 10552868864", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [10552868864, 10557063167", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/10552868864: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/10552868864: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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—17h 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
    43

    # 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_12396311_12661295_36_22488012 (state Active) failed with error. It can mean that some re", "ronousBoundedReadBuffer, compressed data header: <uninitialized>): (while reading column attributes): (a", "10553791519, typename: DB::Async", "mpressing ch-s3-30f/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqvn (position:", "unbound: 0: While reading or dec", " a9329761-321f-4912-a49c-60db95fbb92e:2409, kind: Regular,", "ize: 922655, downloader id: a9329761-321f-4912-a49c-60db95fbb92e:2409, current write offset: 10552868864, caller id", "eb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved ", "49c-60db95fbb92e:2409, file segment info: File segment: [10552868864, 10557063167], key: 31211262", "last caller: a9329761-321f-4912-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", "3859758, internal buffer end: 10553917440, read_type:", ", hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 10553791519, read_until_position: 105", "1591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfhqv", "92e:2409, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-84", " caller id: a9329761-321f-4912-a49c-60db95fb", ": 922655, downloader id: a9329761-321f-4912-a49c-60db95fbb92e:2409, current write offset: 10552868864", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [10552868864, 10557063167", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/10552868864: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/10552868864: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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—17h 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
    41

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offici", " can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "95_36_22488012 (state Active) failed with error. I", "sed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_12396311_12661", "fmaqpniynhwkpjubyyrqfhqvn (position: 10553791519, typename: DB::AsynchronousBoundedReadBuffer, compre", "f47e-4b75-bbcb-8441591d3836/mergetree/niy/jco", "decompressing ch-s3-30f/aa8129e2", "cd2e:2231, kind: Regular, unbound: 0: While reading or", "868864, caller id: 042a84f9-0b47-4053-b00b-a813681", "a8136816cd2e:2231, current write offset: 1055", "CONTINUATION, downloaded size: 0, reserved size: 922655, downloader id: 042a84f9-0b47-4053-b00b", "e segment: [10552868864, 10557063167], key: 31211262ceb296d126dc7cad9682b2e5, state: PARTIALLY_DOWNLOADED_NO", "7-4053-b00b-a8136816cd2e:2231, file segment info: Fi", " REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 042a84f9-0b", "859758, internal buffer end: 10553917440, read_type", "vn, hash key: 31211262ceb296d126dc7cad9682b2e5, file_offset_of_buffer_end: 10553791519, read_until_position: 1055", "591d3836/mergetree/niy/jcoefmaqpniynhwkpjubyyrqfh", "d2e:2231, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-30f/aa8129e2-f47e-4b75-bbcb-844", " caller id: 042a84f9-0b47-4053-b00b-a8136816", ": 922655, downloader id: 042a84f9-0b47-4053-b00b-a8136816cd2e:2231, current write offset: 10552868864", ", key: 31211262ceb296d126dc7cad9682b2e5, state: DOWNLOADING, downloaded size: 0, reserved siz", "ead-only file system, current cache state: File segment: [10552868864, 10557063167", "t/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad9682b2e5/10552868864: , errno: 30, strerror: ", "file system: Cannot open file /m", "b2e5/10552868864: , errno: 30, strerror: Read-only", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/312/31211262ceb296d126dc7cad968"]

    (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