Comments (7)
It's still open despite Tomek's 31d28c5
from scylladb.
@avikivity, seems like a sstable sharding issue?
from scylladb.
An sstable should be loaded on all shards on startup.
A compaction could have deleted it, but I doubt we have it running now.
Maybe a problem in range queries.
from scylladb.
It's an initialization race.
All shards initialize in parallel in init_from_data_directory()
, which includes attaching sstables to the system keyspace column_familie:s and then querying of schema tables in system keyspace. But all this happens in parallel on all shards. So it may happen that some shard is already trying to query schema tables before another shard has finished attaching sstables it's responsible for. As a result some rows in schema tables may be missing. As a result, some shards may be missing some keyspaces / tables.
We should wait until system schema is fully populated on all shards before we proceed to querying schema tables.
from scylladb.
On 07/27/2015 08:14 PM, Tomasz Grabiec wrote:
It's an initialization race.
All shards initialize in parallel in |init_from_data_directory()|,
which includes attaching sstables to the system keyspace
column_familie:s and then querying of schema tables in system
keyspace. But all this happens in parallel on all shards. So it may
happen that some shard is already trying to query schema tables before
another shard has finished attaching sstables it's responsible for. As
a result some rows in schema tables may be missing. As a result, some
shards may be missing some keyspaces / tables.We should wait until system schema is fully populated on all shards
before we proceed to querying schema tables.—
Reply to this email directly or view it on GitHub
#47 (comment).
I can pick this up.
from scylladb.
On 07/27/2015 08:16 PM, Avi Kivity wrote:
On 07/27/2015 08:14 PM, Tomasz Grabiec wrote:
It's an initialization race.
All shards initialize in parallel in |init_from_data_directory()|,
which includes attaching sstables to the system keyspace
column_familie:s and then querying of schema tables in system
keyspace. But all this happens in parallel on all shards. So it may
happen that some shard is already trying to query schema tables
before another shard has finished attaching sstables it's responsible
for. As a result some rows in schema tables may be missing. As a
result, some shards may be missing some keyspaces / tables.We should wait until system schema is fully populated on all shards
before we proceed to querying schema tables.—
Reply to this email directly or view it on GitHub
#47 (comment).I can pick this up.
Unless, of course, if you already have a handle on this can can easily
fix it.
from scylladb.
Fixed by b3b0d51.
from scylladb.
Related Issues (20)
- test_replace_reuse_ip_using_host_id: failure during bootstrap with `get_repair_meta: repair_meta_id 31 for node 127.164.42.35 does not exist` HOT 1
- Delete the maintenance socket on a clean shutdown
- Creating "date" type from integer should check for valid unsigned int
- [UDF] `CREATE OR REPLACE` doesn't treated as ALTER command
- [UDF] aggregate function SFUNC/FINALFUNC permissions are not reported correctly
- commit log directory exceed the limit during disrupt_decommission_streaming_err nemesis HOT 12
- boost.mutation_writer_test.test_token_group_based_splitting_mutation_writer fails due to bad-alloc
- Cannot start scylla-manager-agent due missing DataDirectory info HOT 15
- support for nodetool refresh from remote storage HOT 3
- API and system.configmerges long/short options into option name
- commitlog hard limit (almost?) reached with tablets HOT 2
- docs: Issue in page ScyllaDB Fails to Start - SSTable Corruption Problem
- alternator: support for controlling service level HOT 6
- disk activity in gossip queue during bootstrap and decommission with `consistent-topology-changes` HOT 3
- topology: use structured datacenter and rack classes
- test_tablets.py::test_tablet_missing_data_repair fails due to `NoHostAvailable` HOT 5
- raft topology: send barrier to a decommissioning node
- The systemd timeout is infinite and it is blocker to get a coredump when Scylla hangs on startup HOT 1
- Range tombstones can be missed in view if many deletions get sent to the same view partition HOT 1
- Possible bug related to GSI updates of range key
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 scylladb.