Petr Fedchenkov has posted comments on this change. ( http://gerrit.cloudera.org:8080/25151 )
Change subject: IMPALA-13399: Don't take the stub lock in subscriber RPC handlers ...................................................................... Patch Set 1: (2 comments) http://gerrit.cloudera.org:8080/#/c/25151/1/be/src/statestore/statestore-subscriber.cc File be/src/statestore/statestore-subscriber.cc: http://gerrit.cloudera.org:8080/#/c/25151/1/be/src/statestore/statestore-subscriber.cc@1165 PS1, Line 1165: // The counter is atomic. Don't take 'lock_': it is held for the whole recovery loop. > nit: this comment could be dropped, and L 1171 as well Done. http://gerrit.cloudera.org:8080/#/c/25151/1/tests/custom_cluster/test_statestored_ha.py File tests/custom_cluster/test_statestored_ha.py: http://gerrit.cloudera.org:8080/#/c/25151/1/tests/custom_cluster/test_statestored_ha.py@946 PS1, Line 946: sleep(90) > Can we change this to an active wait with a timeout? Done. The test now waits until all subscribers have entered recovery mode, then until statestoreds[1] has completed 10 successful heartbeat rounds to all 5 subscribers (count of statestore.heartbeat-durations), 60 s timeout each. Without the fix the second wait times out. -- To view, visit http://gerrit.cloudera.org:8080/25151 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4dfcf768b2b5ebde9e37bd0950e90de383ad8681 Gerrit-Change-Number: 25151 Gerrit-PatchSet: 1 Gerrit-Owner: Petr Fedchenkov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Reviewer: Petr Fedchenkov <[email protected]> Gerrit-Comment-Date: Tue, 20 Oct 2026 12:57:31 +0000 Gerrit-HasComments: Yes
