19822527 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:09.230
Run Time 00:00.233
Inserted 21h ago
Scheduled 19h ago
Completed 19h ago (00:01)
Cancelled
Discarded

Args

%{
  "account_id" => "37085",
  "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" => 1772761055283956,
  "recorded" => true,
  "return" => "g1AAAABUeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYGCXLpdOKs3MSUktik8tS80riUdRkchQLpFXUBxfXFpUllqJJrcPAKxTHrw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7934-7b83-9fb3-708449bd1cbd"
}

Recorded Output

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

Errors

Attempt 4—19h ago

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

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

    # 1
    "cial build))\n"

    # 2
    42

    # 3
    67

    # 4
    ["g MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE) (version 25.10.1.7375 (offi", "n that some retryable error happened, or data is corrupted. Please retry the query: While executi", "92759 (state Active) failed with error. It can me", "part all_23863211_24202138_37_24", "er, compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data", "etree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position: 4918107711, typename: DB::AsynchronousBoundedReadBuf", "ind: Regular, unbound: 0: While reading or decompressing ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mer", ", caller id: 16174baa-5966-4848-a7d3-3ee5650021f5:2338, ", "-3ee5650021f5:2338, current write offset: 491572428", "CONTINUATION, downloaded size: 0, reserved size: 1048576, downloader id: 16174baa-5966-4848-a7d", ": File segment: [4915724288, 4919918591], key: e2986a5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADED_NO", "READ_AND_PUT_IN_CACHE, last caller: 16174baa-5966-4848-a7d3-3ee5650021f5:2338, file segment inf", "4916772864, read_type: REMOTE_FS", "4918206224, internal buffer end:", "4918107711, read_until_position:", "b225503694ca8e4f2183a7502, file_offset_of_buffer_end:", "a8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, hash key: e2986a", "-5966-4848-a7d3-3ee5650021f5:2338, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-963/", "r id: 16174baa-5966-4848-a7d3-3ee5650021f5:2338, current write offset: 4915724288, caller id: 16174ba", "reserved size: 1048576, download", "4ca8e4f2183a7502, state: DOWNLOADING, downloaded size: 0,", "-only file system, current cache state: File segment: [4915724288, 4919918591], key: e2986a5b2255036", "che/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/4915724288: , errno: 30, strerror: Rea", "7502/4915724288: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "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 3—19h 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
    43

    # 3
    67

    # 4
    ["pened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, a", "24202138_37_24192759 (state Active) failed with error. It can mean that some retryable error ha", "der: <uninitialized>): (while reading column attributes): (attempt to read data part all_23863211", "cwqczgpvwmavzrhe (position: 4918107711, typename: DB::AsynchronousBoundedReadBuffer, compressed data he", "e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzs", "or decompressing ch-s3-963/aa812", "e offset: 4915724288, caller id: a0713651-7f3e-495f-8971-dc537c072aab:2380, kind: Regular, unbound: 0: While reading", "oaded size: 0, reserved size: 1048576, downloader id: a0713651-7f3e-495f-8971-dc537c072aab:2380, current wri", "02, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, down", "288, 4919918591], key: e2986a5b225503694ca8e4f2183a7", "aab:2380, file segment info: File segment: [491572", "a0713651-7f3e-495f-8971-dc537c07", "on: 4918206224, internal buffer end: 4916772864, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller:", "sh key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 4918107711, read_until_posit", "th: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe, h", "unbound: 0: Cache info: Buffer p", "-7f3e-495f-8971-dc537c072aab:2380, kind: Regular,", "r id: a0713651-7f3e-495f-8971-dc537c072aab:2380, current write offset: 4915724288, caller id: a071365", "reserved size: 1048576, download", "4ca8e4f2183a7502, state: DOWNLOADING, downloaded size: 0,", "-only file system, current cache state: File segment: [4915724288, 4919918591], key: e2986a5b2255036", "che/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/4915724288: , errno: 30, strerror: Rea", "7502/4915724288: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "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—19h ago

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

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

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

    # 2
    43

    # 3
    67

    # 4
    ["yable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: Prefetch", "error. It can mean that some ret", "211_24202138_37_24192759 (state Active) failed with", ", compressed data header: <uninitialized>): (while reading column attributes): (attempt to read data part all_2386", "07711, typename: DB::AsynchronousBoundedReadBuffe", "-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position: 4918", "While reading or decompressing c", " offset: 4915724288, caller id: ac9127e6-3430-47ae-b7bd-aca31a2392c3:1040, kind: Regular, unbound: 0:", "loaded size: 0, reserved size: 1048576, downloader id: ac9127e6-3430-47ae-b7bd-aca31a2392c3:1040, current writ", "3a7502, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, dow", " 4919918591], key: e2986a5b225503694ca8e4f21", "040, file segment info: File segment: [4915724288", "TE_FS_READ_AND_PUT_IN_CACHE, last caller: ac9127e6-3430-47ae-b7bd-aca31a2392c3:", "4, internal buffer end: 4916772864, read_type: REM", "zrhe, hash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 4918107711, read_until_position: 49182062", "nd: 0: Cache info: Buffer path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwma", "-3430-47ae-b7bd-aca31a2392c3:1040, kind: Regular, unbo", "r id: ac9127e6-3430-47ae-b7bd-aca31a2392c3:1040, current write offset: 4915724288, caller id: ac9127e", "reserved size: 1048576, download", "4ca8e4f2183a7502, state: DOWNLOADING, downloaded size: 0,", "-only file system, current cache state: File segment: [4915724288, 4919918591], key: e2986a5b2255036", "che/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/4915724288: , errno: 30, strerror: Rea", "7502/4915724288: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "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—20h ago

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

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

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

    # 2
    47

    # 3
    67

    # 4
    ["able error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPo", "rt all_23863211_24202138_37_24192759 (state Active) failed with error. It can mean that some retr", "ompressed data header: <uninitialized>): (while reading column attributes): (attempt to read data p", " 4918107711, typename: DB::AsynchronousBoundedReadBuffer, ", "h-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdncvzsgcwqczgpvwmavzrhe (position", "er id: fba293a8-2d51-4b96-8476-dd6e06339c64:1604, kind: Regular, unbound: 0: While reading or decompressing ", "ved size: 1048576, downloader id: fba293a8-2d51-4b96-8476-dd6e06339c64:1604, current write offset: 4915724288, cal", "5b225503694ca8e4f2183a7502, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, rese", ": fba293a8-2d51-4b96-8476-dd6e06339c64:1604, file segment info: File segment: [4915724288, 4919918591], key: e2986", "tion: 4918206224, internal buffer end: 4916772864, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last calle", "zsgcwqczgpvwmavzrhe, hash key: e2986a5b225503694ca8e4f2183a7502, file_offset_of_buffer_end: 4918107711, read_until_pos", ": 0: Cache info: Buffer path: ch-s3-963/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lvu/evqtwtdnc", "-2d51-4b96-8476-dd6e06339c64:1604, kind: Regular, unboun", "r id: fba293a8-2d51-4b96-8476-dd6e06339c64:1604, current write offset: 4915724288, caller id: fba293a", "reserved size: 1048576, download", "4ca8e4f2183a7502, state: DOWNLOADING, downloaded size: 0,", "-only file system, current cache state: File segment: [4915724288, 4919918591], key: e2986a5b2255036", "che/sharedS3DiskCache/e29/e2986a5b225503694ca8e4f2183a7502/4915724288: , errno: 30, strerror: Rea", "7502/4915724288: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-c", "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