Comments (4)
@tgrabiec please comment.
from scylladb.
Alternatively, we do it all in replica. 'split prepare' waits for ongoing (streaming) sstable writes, and newer ones will use the mutation splitter (used by split compaction) during split mode.
from scylladb.
@tgrabiec I suggest we fix it like this
diff --git a/streaming/consumer.cc b/streaming/consumer.cc
index fda6ee66de..9f2717a3da 100644
--- a/streaming/consumer.cc
+++ b/streaming/consumer.cc
@@ -65,6 +65,8 @@ std::function<future<> (mutation_reader)> make_streaming_consumer(sstring origin
cf->enable_off_strategy_trigger();
}
return cf->add_sstable_and_update_cache(sst, offstrategy);
+ }).then([cf, sst] {
+ return cf->maybe_split_compaction_group_of(sst);
}).then([cf, s, sst, use_view_update_path, &vb]() mutable -> future<> {
if (!use_view_update_path) {
return make_ready_future<>();
that's essentially the same way when we guarantee split of a tablet that is being migrated during prepare phase.
by waiting on that split, we guarantee repair won't move on until new sstable produced is split, and given that repair holds erm, that will synchronize with split execution. what do you think?
from scylladb.
last time seen in SCT tier1 2024-07-06
from scylladb.
Related Issues (20)
- CI: Analyze #includes in source files fails: sudo: dnf: command not found HOT 2
- [offline-installer][OEL8.1] cqlsh fail to execute HOT 13
- [rolling-upgrade][centos9] after upgrade `--io-properties-file` isn't set
- Avoid unnecessary filter recreation after compacting sstables with few keys
- [dtest with topology changes] repair_additional_test.TestRepairAdditional.test_repair_kill failed on `teardown with "AssertionError: Core file(s) found. Marking test as failed` HOT 1
- CreateTable ignores spurious entries in AttributeDefinitions instead of erroring
- Cleanup after the driver reconnect issue is fixed HOT 2
- docs: add new branch 6.1
- system.config boolean values do not round-trip
- Constantly growing disk usage after ScyllaDB update from 5.2.9 to 5.4.7 HOT 4
- Auto-grant and auto-revoke missing for CDC log table HOT 1
- Document that to disable rbno you need to disable it everywhere HOT 3
- Test reader_concurrency_semaphore_test::test_reader_concurrency_semaphore_admission fails with : [Exception] - admission scenario 'need_cpu > awaits' HOT 4
- co-routinize `test/boost/sstable_test.cc`
- Alternator TTL doesn't mix well with TWCS, either document or disallow it explicitly HOT 3
- Removing an Unavailable Node procedure is not clear about the repairs HOT 1
- Alternator: warning 'correct liveness management' HOT 2
- Hints are sent in streaming scheduling group HOT 5
- hint_sender should be woken up when nodes are discovered as UP HOT 7
- locator: missing retry logic on gce_snitch and azure_snitch
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.