pingcap / pingcap/tidb

br: log advancer for testing retires owner but etcd session still alive

Open
#59,528 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Right now using retire doesn't actually delete key from etcd. should close the etcd session as well to mimic the instance down so can trigger election

Contributor guide

Open the contributing guide

Research direction

Start by locating the testing log advancer's retire operation and the code that manages its etcd session. Trace how retirement currently affects the owner key and how elections are triggered. Done means retiring the owner also closes the etcd session, removes the key, and allows the election behavior to be tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.