강제 클러스터 재시작 시 범위를 벗어난 커밋 인덱스 거부
영향 대상
--force-new-cluster로 재시작하는 멤버이전에는 백엔드의 일관성 인덱스가 마지막 WAL 엔트리나 스냅샷 인덱스보다 크면 멤버가 영구적으로 작동 불능 상태가 될 수 있었습니다. 이제는 사용 가능한 엔트리 범위를 넘어선 커밋 인덱스로 조정해 시작하는 대신, 시작 과정에서 오류를 반환합니다. 재시작에 실패해도 WAL은 변경되지 않습니다.
근거“return 0, nil, nil, nil, nil, fmt.Errorf("adjusted commit index %d exceeds the last WAL entry index %d", adjustedCommitIndex, lastIdx)” etcd-io/etcd/pull/22688 ↗
원문 보기
- Fix [`--force-new-cluster` permanently bricking a member whose backend consistent index is ahead of its WAL](https://github.com/etcd-io/etcd/pull/22688)github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md