19829023 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:27.969
Run Time 00:02.088
Inserted 6h ago
Scheduled 4h ago
Completed 4h ago (00:03)
Cancelled
Discarded

Args

%{
  "account_id" => "209035",
  "date" => "2026-03-06",
  "query" => "users_reached",
  "window_days" => 7
}

Meta

%{
  "deps" => ["generate_event_counts"],
  "name" => "generate_users_reached",
  "on_hold" => false,
  "orig_scheduled_at" => 1772760421040001,
  "recorded" => true,
  "return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79d6-7b2e-ad8f-46d557b2fc38"
}

Recorded Output

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

Errors

Attempt 4—4h ago

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

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

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

    # 2
    42

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", "can mean that some retryable err", "903_36_22488012 (state Active) failed with error. It", "eader: <uninitialized>): (while reading column attributes): (attempt to read data part all_21886005_2228", "lctzzxlwskoenbibskfb (position: 22917855431, typename: DB::AsynchronousBoundedReadBuffer, compressed data ", ", unbound: 0: While reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywk", "7ed-7f4e-4061-a354-0d00f37a3b81:1743, kind: Regula", "er id: cf8827ed-7f4e-4061-a354-0d00f37a3b81:1743, current write offset: 22917677056, caller id: cf88", "_NO_CONTINUATION, downloaded size: 0, reserved size: 178375, downloa", "5f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLOADE", "354-0d00f37a3b81:1743, file segment info: File segment: [22917677056, 22921871359], key: 8bdd6238", "last caller: cf8827ed-7f4e-4061-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", " 22917947452, internal buffer end: 22918725632, read_type:", "fb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 22917855431, read_until_position", "nfo: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibs", "f37a3b81:1743, kind: Regular, unbound: 0: Cache ", "2917677056, caller id: cf8827ed-7f4e-4061-a354-0d0", "served size: 178375, downloader id: cf8827ed-7f4e-4061-a354-0d00f37a3b81:1743, current write offset: ", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "2917677056, 22921871359], key: 8bdd623835f487b01cc", "9fca65/22917677056: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/22917677056: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

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

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

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

    # 1
    "ial build))\n"

    # 2
    43

    # 3
    67

    # 4
    ["eSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offic", "ean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTr", "state Active) failed with error. It can ", ">): (while reading column attributes): (attempt to read data part all_21886005_22284903_36_22488012 ", "skoenbibskfb (position: 22917855431, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <uninitialize", "le reading or decompressing ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxl", "ent write offset: 22917677056, caller id: 5b6f1ae2-8808-4161-aeb9-472d513f529a:1573, kind: Regular, unbound: 0: Wh", "ded size: 0, reserved size: 178375, downloader id: 5b6f1ae2-8808-4161-aeb9-472d513f529a:1573, cur", ", state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downlo", "6, 22921871359], key: 8bdd623835f487b01cc7ef2def9fca6", "29a:1573, file segment info: File segment: [229176770", "5b6f1ae2-8808-4161-aeb9-472d513f", "osition: 22917947452, internal buffer end: 22918725632, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "oenbibskfb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 22917855431, read_until_", "8441591d3836/mergetree/ral/buegwywkjlctzzxlws", "513f529a:1573, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb", "2917677056, caller id: 5b6f1ae2-8808-4161-aeb9-472", "served size: 178375, downloader id: 5b6f1ae2-8808-4161-aeb9-472d513f529a:1573, current write offset: ", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "2917677056, 22921871359], key: 8bdd623835f487b01cc", "9fca65/22917677056: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/22917677056: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

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

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "22284903_36_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_21886005", "431, typename: DB::AsynchronousBoundedReadBuffer, com", "8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 2291785", "c78-4343-a276-d4e7aa5b5a54:2337, kind: Regular, unbound: 0: While reading or decompressing ch-s3-c6c/a", "oader id: 35f6819e-fc78-4343-a276-d4e7aa5b5a54:2337, current write offset: 22917677056, caller id: 35f6819e-", "f9fca65, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved size: 178375, down", " 22921871359], key: 8bdd623835f487b01cc7ef2d", "337, file segment info: File segment: [22917677056", "ffer end: 22918725632, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 35f6819e-fc78-4343-a276-d4e7aa5b5a54:", " 22917855431, read_until_position: 22917947452, internal b", "23835f487b01cc7ef2def9fca65, file_offset_of_buffer_end", "ffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb, hash key: 8bdd", "aa5b5a54:2337, kind: Regular, unbound: 0: Cache info: B", "2917677056, caller id: 35f6819e-fc78-4343-a276-d4e", "served size: 178375, downloader id: 35f6819e-fc78-4343-a276-d4e7aa5b5a54:2337, current write offset: ", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "2917677056, 22921871359], key: 8bdd623835f487b01cc", "9fca65/22917677056: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/22917677056: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

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

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

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

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

    # 2
    42

    # 3
    67

    # 4
    ["ergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FIL", "or. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing ", "005_22284903_36_22488012 (state Active) failed with er", "pressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_2188", "855431, typename: DB::AsynchronousBoundedReadBuffer, co", "-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibskfb (position: 2291", "920-3fc5-4055-861a-a5a07a45533e:2370, kind: Regular, unbound: 0: While reading or decompressing c", "er id: af26a920-3fc5-4055-861a-a5a07a45533e:2370, current write offset: 22917677056, caller id: af26", "D_NO_CONTINUATION, downloaded size: 0, reserved size: 178375, downloa", "22917677056, 22921871359], key: 8bdd623835f487b01cc7ef2def9fca65, state: PARTIALLY_DOWNLOAD", "61a-a5a07a45533e:2370, file segment info: File segment: ", "last caller: af26a920-3fc5-4055-", "REMOTE_FS_READ_AND_PUT_IN_CACHE,", " 22917947452, internal buffer end: 22918725632, read_type:", "fb, hash key: 8bdd623835f487b01cc7ef2def9fca65, file_offset_of_buffer_end: 22917855431, read_until_position", "nfo: Buffer path: ch-s3-c6c/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/ral/buegwywkjlctzzxlwskoenbibs", "7a45533e:2370, kind: Regular, unbound: 0: Cache ", "2917677056, caller id: af26a920-3fc5-4055-861a-a5a", "served size: 178375, downloader id: af26a920-3fc5-4055-861a-a5a07a45533e:2370, current write offset: ", "ef2def9fca65, state: DOWNLOADING, downloaded size: 0, r", "2917677056, 22921871359], key: 8bdd623835f487b01cc", "9fca65/22917677056: , errno: 30, strerror: Read-only file system, current cache state: File segment: [", "sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2de", "ca65/22917677056: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/8bd/8bdd623835f487b01cc7ef2def9"]

    (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