Skip to content

Arithmetic overflow panic in partition_tracker.rs:300 during scan operations (v2.0.0-alpha.4) #161

@2dev2

Description

@2dev2

Bug Description

Arithmetic overflow panic occurs during scan operations with partition filters.

Environment

  • aerospike-core version: 2.0.0-alpha.4
  • Rust version: [1.88]
  • Operating System: macOS

Code to Reproduce

let pf = PartitionFilter::by_range(begin, count);
let policy = ScanPolicy::default();
let bins = Bins::from(&["dummy"][..]);

let recordset = aerospike_client
    .scan(&policy, pf, namespace, set_name, bins)
    .await?;

Expected Behavior

Scan should complete without panicking.

Actual Behavior

Thread panics with arithmetic overflow during partition tracking.


This affects the v2 async implementation. Please label as v2-related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions