Skip to content

[sharding] The 'limit' option doesn't retrieve the expected number of records (verify on current build) #198

Description

@kriszyp

Investigative — verify on current build. limit in search operations doesn't return the correct count in a sharded cluster — some records are on remote shards and the limit is applied per-shard before merging, resulting in fewer results than requested.


🤖 Filed by Claude on behalf of Kris.

Activity

  1. added
    bugSomething isn't working
    area:replicationReplication, cluster sync, peer connections
    from-jiraMigrated or originated from a Jira ticket
    on May 21, 2026
  2. added this to the v5.2 milestone on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:replicationReplication, cluster sync, peer connectionsbugSomething isn't workingfrom-jiraMigrated or originated from a Jira ticket

    Type

    No type

    Fields

    Priority

    P1

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions