-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.0.9, 6.0.0-rc13
-
Component/s: None
-
Fully Compatible
-
ALL
-
v6.0, v5.0
-
-
Sharding 2022-08-22
-
0
-
3
When a step down occurs the recipient tries to wait for the _dataReplicationQuiesced future before deactivating the metrics state. That future is a composite of multiple futures and when any of the futures error out it would normally try to join them here. The issue is that during step down, the primary only service also shuts down the executor so the executor would refuse to run the onError and it would end up finishing the future chain without waiting for the other futures to complete.