Comments (1)
Thank you for the detailed issue @TonySparc ! There isn't currently a well defined behavior here — other than the code which will effectively not switch traffic if you have "interim" tablet types like this — so it's unclear if this is a bug or a feature request (technically it would be a feature request, but I can understand how it can be seen as a bug and we could potentially treat it that way).
I would lump this in with the general issue that VReplication does not currently have any special handling for tablet types other than primary, replica, and rdonly — again, other than that they can't exist at the time we switch traffic.
We can't really just go ahead and switch traffic because that tablet could become a replica or rdonly table, right? What does it mean to be backing up or restoring a tablet for a shard that is about to become non-serving (at least for a set of tables)? This is certainly simpler for MoveTables as both sides of the move have serving tablets, it's just a matter of what tables they are serving. Can you please explain in detail what you expected here and what you would prefer? You detailed what happened and the practical impact it had on you, and I understand that, but there are tradeoffs and potential issues in changing the current behavior.
It may very well end up that, at least for MoveTables, we can simply ignore these tablet types. But I wanted to dig in a bit before considering fixes for the issue.
Thanks again!
from vitess.
Related Issues (20)
- Bug Report: DemotePrimary stuck due to a race
- Tracking: deprecation of `gh-ost` and `pt-osc` Online DDL strategies
- Bug Report: `LAST_INSERT_ID` behaviour differs between MySQL and Vitess HOT 2
- [VTAdmin API] Debug schema-cache-* flags
- Bug Report: VTGate persistent query errors after MoveTables SwitchTraffic HOT 2
- Bug Report: User Defined Functions Fails to execute
- Bug Report: Cannot pass in `schema-cache-*` flags without passing `schema-cache-backfill-queue-size`
- Bug Report: gRPC custom name resolvers don't work with underscores
- Bug Report: vtorc Client received GoAway with error code ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings" HOT 3
- Bug Report: Panic in tpch query run
- Bug Report: vttablet DBA pool can be poisoned with broken connection during startup
- Feature Request: configurable number of digits in generated shard ranges
- Bug Report: Connection Pool Full error locks up vttablet HOT 1
- Question: How can I replace the localhost address HOT 1
- Feature Request: Only create workflow streams on relevant shards while creating a MoveTables workflow for multi-tenant migrations
- Bug Report: Inconsistent ENUM and SET handling in VStream/vstreamer HOT 1
- Bug Report: Segmentation fault in dialDedicatedPool
- Bug Report: VStream does not switch tablets when lag exceeds discovery_low_replication_lag HOT 1
- ZooKeeper Topo locks not being cleaned up properly in case of context timeout
- Feature Request: Add vttablet metric for vplayer DDL actions
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 vitess.