Hi, Heesung:
I have some doubts.
I review your PIP-192: New Pulsar Broker Load Balancer. I found that
unload topic uses the leader broker to do, (Assigning, Return) uses
the lookup request broker. why (Assigning, Return) not use a leader
broker?
I can think of a few reasons:
1. reduce leader broker pressure
2. does not strongly depend on the leader broker

If (Assigning, Return) does not depend on the leader, it will bring
the following problems:
1. leader clear bundle op and (Assigning, Return) will do at the same
time, It will cause many requests to be retried, and the broker will
be in chaos for a long time.
2. bundle State Channel(BSC) owner depends on the leader broker, this
also makes topic transfer strongly dependent on the leader.
3. the code becomes more complex and harder to maintain

What tradeoffs are the current implementations based on?

Thanks,
bo

Heesung Sohn <heesung.s...@streamnative.io.invalid> 于2022年10月19日周三 07:54写道:
>
> Hi pulsar-dev community,
>
> I raised a pip to discuss : PIP-215: Configurable Topic Compaction Strategy
>
> PIP link: https://github.com/apache/pulsar/issues/18099
>
> Regards,
> Heesung

Reply via email to