You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During some workload UpdateConsensus could take a long time to proceed, but leader keep trying to send new requests each 3 seconds. All those requests waiting on update_lock_ taking a lot of memory.
The text was updated successfully, but these errors were encountered:
Summary:
During some workload UpdateConsensus could take a long time to proceed, but leader keep trying to send new requests each 3 seconds.
All those requests waiting on update_lock_ taking a lot of memory.
Replaced std::mutex with std::timed_mutex and use RPC call timeout.
So only 1-2 pending updates would wait and consume memory.
Test Plan: ybd --gtest_filter QLStressTest.SlowUpdateConsensus
Reviewers: mikhail, bogdan
Reviewed By: bogdan
Subscribers: ybase, bharat
Differential Revision: https://phabricator.dev.yugabyte.com/D6444
During some workload UpdateConsensus could take a long time to proceed, but leader keep trying to send new requests each 3 seconds. All those requests waiting on
update_lock_
taking a lot of memory.The text was updated successfully, but these errors were encountered: