yugabyte/yugabyte-db
Auf GitHub ansehen[DocDB] Only allow one RBS session per tablet/peer combo
Open
#26.144 geöffnet am 21. Feb. 2025
area/docdbgood first issuekind/enhancementpriority/medium
Repository-Metriken
- Stars
- (8.229 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)
Beschreibung
Jira Link: DB-15477
Description
MonoTime now = MonoTime::Now();
const string session_id = Substitute("$0-$1-$2", requestor_uuid, tablet_id, now.ToString());
allows for multiple RBS sessions for the same follower. This should be unnecessary and can lead to ooms if left uncontrolled.
We should only allow at most 1 pending RBS session for a follower, and end previous sessions when a new session is created.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
- I confirm this issue does not contain any sensitive information.