Avi Kivity
a55b434a2b
treewide: extent copyright statements to present day
2021-06-06 19:18:49 +03:00
Botond Dénes
e0284bb9ee
treewide: add missing headers and/or forward declarations
2020-03-23 09:29:45 +02:00
Pavel Solodovnikov
2f442f28af
treewide: add const qualifiers throughout the code base
2019-11-26 02:24:49 +03:00
Piotr Jastrzebski
e1e23ec555
Pass sstable version to describe_type
...
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2018-04-24 11:30:26 +02:00
Avi Kivity
28be4ff5da
Revert "Merge "Implement loading sstables in 3.x format" from Piotr"
...
This reverts commit 513479f624 , reversing
changes made to 01c36556bf . It breaks
booting.
Fixes #3376 .
2018-04-23 06:47:00 +03:00
Piotr Jastrzebski
26ab3056ae
Pass sstable version to describe_type
...
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2018-04-22 14:41:11 +02:00
Vlad Zolotarov
ec15d60a2d
db::commitlog::replay_position: added std::hash<replay_position>
...
It's needed for hinted handoff.
Signed-off-by: Vlad Zolotarov <vladz@scylladb.com >
2017-12-14 15:05:48 -05:00
Calle Wilund
2913241df1
memtable/commitlog: Change bookkeep to track individul segments
...
Use per CF-id reference count instead, and use handles as result of
add operations. These must either be explicitly released or stored
(rp_set), or they will release the corresponding replay_position
upon destruction.
Note: this does _not_ remove the replay positioning ordering requirement
for mutations. It just removes it as a means to track segment liveness.
2017-06-07 12:07:01 +00: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
Calle Wilund
246e8e24f2
replay_position: Make <= comparator simpler and cleaner
2015-10-07 14:34:22 +03:00
Calle Wilund
271eb3ba02
replay_position: Add <= comparator
2015-10-07 08:59:53 +02:00
Avi Kivity
d5cf0fb2b1
Add license notices
2015-09-20 10:43:39 +03:00
Calle Wilund
ea38b223bd
Commitlog: change the ID generation scheme
...
* Make it more like origin, i.e. based on wall clock time of app start
* Encode shard ID in the, RP segement ID, to ensure RP:s and segement names
are unique per shard
2015-08-31 14:29:46 +02:00
Calle Wilund
0fcf7e3e91
Commitlog: Make "position" type 32-bit to align replay_position with
...
Origin
* Note: removed commitlog_test:test_allocation_failure because with
segments limited to 4GB -> mutation limited to 2GB, actually forcing
a fail is not guaranteed or even likely.
2015-08-31 14:29:44 +02:00
Avi Kivity
5f62f7a288
Revert "Merge "Commit log replay" from Calle"
...
Due to test breakage.
This reverts commit 43a4491043 , reversing
changes made to 5dcf1ab71a .
2015-08-27 12:39:08 +03:00
Calle Wilund
4f24b9795e
Commitlog: change the ID generation scheme
...
* Make it more like origin, i.e. based on wall clock time of app start
* Encode shard ID in the, RP segement ID, to ensure RP:s and segement names
are unique per shard
2015-08-25 09:40:52 +02:00
Calle Wilund
ac74dd6159
Commitlog: Make "position" type 32-bit to align replay_position with Origin
2015-08-24 10:05:44 +02:00
Calle Wilund
6ac6d644be
Commitlog: add logging
...
Note: pretty lame logging, but modeled after origin.
Signed-off-by: Calle Wilund <calle@cloudius-systems.com >
2015-08-10 18:42:41 +03:00
Calle Wilund
0729580f84
Separate replay_position into its own header
...
Less include bloat...
Signed-off-by: Calle Wilund <calle@cloudius-systems.com >
2015-06-01 14:17:43 +03:00