Skip to content

[Bug] set-bookie-affinity-group overwrites "number of bundles" passed during namespace creation #23897

@programmerahul

Description

@programmerahul

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

OS: MacOs Sonoma 14.6.1
Java: 17
Pulsar version: 4.0.2

Minimal reproduce step

  1. pulsar-admin namespaces create t/n --bundles 10
  2. pulsar-admin namespaces set-bookie-affinity-group --primary-group temp t/n

What did you expect to see?

The namespace "n" should have 10 bundles

What did you see instead?

The namespace "n" have 4 bundles

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions