Asias He
937f28d2f1
Convert to use dht::partition_range_vector and dht::token_range_vector
2016-12-19 14:08:50 +08:00
Asias He
d1178fa299
Convert to use dht::token_range
2016-12-19 08:04:29 +08:00
Avi Kivity
a35136533d
Convert ring_position and token ranges to be nonwrapping
...
Wrapping ranges are a pain, so we are moving wrap handling to the edges.
Since cql can't generate wrapping ranges, this means thrift and the ring
maintenance code; also range->ring transformations need to merge the first
and last ranges.
Message-Id: <1478105905-31613-1-git-send-email-avi@scylladb.com >
2016-11-02 21:04:11 +02:00
Pekka Enberg
38a54df863
Fix pre-ScyllaDB copyright statements
...
People keep tripping over the old copyrights and copy-pasting them to
new files. Search and replace "Cloudius Systems" with "ScyllaDB".
Message-Id: <1460013664-25966-1-git-send-email-penberg@scylladb.com >
2016-04-08 08:12:47 +03:00
Asias He
2f48d402e2
streaming: Remove unused commented code
2016-01-29 16:31:07 +08:00
Asias He
ed3da7b04c
streaming: Drop flush_tables option for add_transfer_ranges
...
We do not stream sstable files. No need to flush it.
2016-01-29 16:31:07 +08:00
Asias He
bdd6a69af7
streaming: Drop unused parameters
...
- int connections_per_host
Scylla does not create connections per stream_session, instead it uses
rpc, thus connections_per_host is not relevant to scylla.
- bool keep_ss_table_level
- int repaired_at
Scylla does not stream sstable files. They are not relevant to scylla.
2016-01-25 11:38:13 +08:00
Asias He
89b79d44de
streaming: Get rid of the _connecting_ parameter
...
messaging_service will use private ip address automatically to connect a
peer node if possible. There is no need for the upper level like
streaming to worry about it. Drop it simplifies things a bit.
2015-12-31 11:25:08 +01:00
Asias He
d51227ad9c
streaming: Remove transfer_files
...
It is never used.
2015-12-21 14:42:47 +08:00
Asias He
cadf8b1484
streaming: Handle stream_plan with no range added
...
If no ranges for neither sending nor receiving are added for the stream
plan, the stream plan is empty. Return a ready future immediately.
2015-11-10 15:39:34 +08:00
Avi Kivity
d5cf0fb2b1
Add license notices
2015-09-20 10:43:39 +03:00
Asias He
59cae82470
streaming: Make stream_plan::execute return a future
...
Returns a ready future if the stream_plan completes successfully, or a
failed future otherwise.
2015-07-31 16:27:55 +08:00
Asias He
d1720ffed1
streaming: Hold a shared_ptr inside stream_plan
2015-07-14 20:41:14 +08:00
Asias He
ad3692f666
streaming: Implement stream_session::add_transfer_ranges
...
Given keyspace names, ranges and column_families names, figure out
mutation_readers to transfer.
2015-07-09 15:52:27 +08:00
Asias He
7ec2ee6b86
streaming: Add stream_plan::listeners
2015-06-30 16:55:30 +08:00
Asias He
6f0994349a
streaming: Add stream_plan::execute
2015-06-30 16:47:25 +08:00
Asias He
abf24b3bfa
streaming: Add flush_before_transfer to stream_plan
2015-06-30 15:38:18 +08:00
Asias He
794c65e58c
streaming: Complete transfer_ranges and request_ranges in stream_plan
2015-06-26 08:31:28 +08:00
Asias He
a4235ebc13
streaming: Implement transfer_files
2015-06-26 08:31:28 +08:00
Asias He
189b2515e0
streaming: Add is_empty to stream_plan
2015-06-24 16:13:30 +08:00
Asias He
6619122b35
streaming: Add _coordinator to stream_plan
2015-06-24 16:13:30 +08:00
Asias He
9e8512a783
streaming: Convert StreamPlan.java to C++
2015-06-18 23:02:31 +08:00