Comments (2)
cc @cockroachdb/replication
from cockroach.
There are probably some nuances here.
The replica can't be fully "inactive" while it learns the state. Consider a scenario in which all 3/3 replicas restarted simultaneously. They should be able to learn even though there is no active leader, and no replica transitioned to voter yet. One way to make it work is that all replicas are learners and readable by other replicas (kind of "read-only voter"), so that everyone can bootstrap from a quorum. This scenario is when the risk of losing state is the highest: if there is no quorum with up-to-date state, everyone will bootstrap stale. This risk exists today too, if fsync is disabled.
How does this work with config changes? What if a starting up replica regressed to a pre-config-change state? Config changes modify quorums, and this should be reflected in the recovery procedure. Potentially, config changes are one of few cases when durability guarantees must be stronger.
from cockroach.
Related Issues (20)
- Sentry: replica_closedts.go:263: log.Fatal: side-transport update saw closed timestamp regression on r9: (lai=38, ts=1716200094.987234095,0) -> (lai=37, ts=1716200095.107868056,0) (1) attached stack t... HOT 1
- roachtest: follower-reads/mixed-version/survival=region/locality=global/reads=strong failed HOT 1
- roachtest: unoptimized-query-oracle/disable-rules=half/rand-tables failed HOT 1
- sql/stats: TestCreateStatsProgress failed HOT 1
- server: TestCachedSettingsServerRestart failed
- server: TestDatabasesTablesV2 failed HOT 1
- raft: persist Lead in HardState HOT 1
- sql: TestTrackOnlyUserOpenTransactionsAndActiveStatements failed HOT 1
- kv: allocator should apply all span config changes proactivily HOT 1
- docs: changefeed: invalid json in kafka sink config example
- pkg/sql/logictest/tests/cockroach-go-testserver-23.1/cockroach-go-testserver-23_1_test: TestLogic_mixed_version_procedure failed HOT 2
- changefeedccl: add support for iam auth in kafka for aws msk HOT 1
- changefeedccl: support aws msk serverless HOT 1
- cdc: duplicate column when using cdc query
- cdc: duplicate key column when using cdc query with parquet HOT 1
- cdc: not restoring checkpoints correctly HOT 1
- sql: TestExplainRedact failed HOT 1
- raft: revamp async log storage protocol HOT 1
- Dropped roles not removed from `crdb_internal_region` object HOT 3
- roachtest: support declarative_schema_changer/job-compatibility-mixed-version test for 24.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockroach.