Repository navigation
Remove legacy ZooKeeper backpressure cluster state methods and config (#8994) - #9168
Mohit20057 wants to merge 2 commits into
Conversation
reiabreu
left a comment
There was a problem hiding this comment.
This review was generated with the help of an LLM (Claude) and reviewed by me before posting.
Two notes on the removals, inline.
|
@Mohit20057 friendly ping: could you have a look at @reiabreu's review? The removal of the public constant needs a release/upgrade note (as asked in #8994), ideally also mentioning the |
|
Thanks for the review! I have added a Release & Upgrade Note: Removal of Legacy ZooKeeper Backpressure State
|
67ed341 to
1af7b03
Compare
thanks @Mohit20057 ! Do you mind resolving the conflicts?
|
Asked Claude to quickly change the release notes script to capture "Upgrade notes" section from the PRs. |
1af7b03 to
3b7380c
Compare
|
@reiabreu Thanks! I have rebased the branch onto the latest |
|
Thanks for adding the upgrade notes and the warning for A few remarks on the notes:
Nit: there is a double blank line in |
What is the purpose of the change
Sub-task of umbrella issue #8994.
Removes the deprecated legacy ZooKeeper backpressure cluster state methods in
IStormClusterStateandConfig.TOPOLOGY_BACKPRESSURE_ENABLE(markedforRemoval = truesince 2.0.0), and decouples dependent Nimbus topology cleanup, submission, and test helpers.Upgrade notes
Removal of
Config.TOPOLOGY_BACKPRESSURE_ENABLEThe public constant
Config.TOPOLOGY_BACKPRESSURE_ENABLE("topology.backpressure.enable"), originally marked for removal in 2.0.0, has been removed.Worker backpressure in modern Storm versions is handled automatically, in-process, through internal worker queues and buffering. The legacy ZooKeeper-coordinated backpressure toggle is obsolete. Topologies that submit this key now get a log warning.
ZooKeeper
/backpressureznodes are no longer cleaned upThe legacy cluster-state methods (
backpressure(),setupBackpressure(),removeBackpressureFlag(), etc.) and the associated cleanup routine in Nimbus have been removed.Notice for cluster operators: clusters upgraded from legacy 1.x installations, or with topologies that previously used ZooKeeper-based backpressure, will no longer have lingering
/backpressureznodes purged automatically by Nimbus. Operators can safely delete any orphaned historical znodes directly in ZooKeeper withzkCli:rmr /storm/backpressuredeleteall /storm/backpressureHow was this tested
storm-clientandstorm-serverTestConfigValidate(38/38 tests passed)NimbusClojurePortTestcleanup tests (5/5 tests passed)NimbusClojurePortTest#testKillStorm(1/1 test passed)storm-clientandstorm-server