pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[improve][meta] Stop election operations when LeaderElectionImpl gets closed

Open lhotari opened this issue 10 months ago • 1 comments

Motivation

In some tests, I noticed that LeaderElectionImpl could continue to make operations and override the closed state.

Modifications

Add checks if the internalState is Closed

Documentation

  • [ ] doc
  • [ ] doc-required
  • [x] doc-not-needed
  • [ ] doc-complete

lhotari avatar Feb 17 '25 12:02 lhotari

Fixing a potentially flaky test that uses a bad way to trigger leader election.

lhotari avatar Feb 18 '25 13:02 lhotari