Piotr Jastrzebski
7729bc5e7b
Remove unused mutation_reader_assertions
...
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2018-01-24 20:56:48 +01:00
José Guilherme Vanz
380bc0aa0d
Swap arguments order of mutation constructor
...
Swap arguments in the mutation constructor keeping the same standard
from the constructor variants. Refs #3084
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com >
Message-Id: <20180120000154.3823-1-guilherme.sft@gmail.com >
2018-01-21 12:58:42 +02:00
Piotr Jastrzebski
d266eaa01e
mutation_source: rename make_flat_mutation_reader to make_reader
...
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2018-01-19 09:30:12 +01:00
Piotr Jastrzebski
a64aa3fae3
run_sstable_resharding_test: create flat reader from source
...
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2018-01-16 09:32:35 +01:00
Raphael S. Carvalho
fc193c29cf
tests: fix sstable resharding test
...
wrong sstable was used when checking for content, and storage service
for test was missing.
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com >
2017-12-07 03:15:27 -02:00
Jesse Haber-Kucharsky
fb0866ca20
Move thread_local declarations out of main.cc
...
Since `disk-error-handler.hh` defines these global variables `extern`,
it makes sense to declare them in the `disk-error-handler.cc` instead of
`main.cc`.
This means that test files don't have to declare them.
Fixes #2735 .
Signed-off-by: Jesse Haber-Kucharsky <jhaberku@scylladb.com >
Message-Id: <1eed120bfd9bb3647e03fe05b60c871de2df2a86.1511810004.git.jhaberku@scylladb.com >
2017-11-27 20:27:42 +01:00
Avi Kivity
f7023501d6
treewide: use shared_sstable, make_sstable in place of lw_shared_ptr<sstable>
...
Since shared_sstable is going to be its own type soon, we can't use the old alias.
2017-09-12 10:43:05 +03:00
Avi Kivity
9b540eccb0
database: remove dependency on compaction.hh and compaction_manager.hh
2017-09-11 20:09:45 +03:00
Avi Kivity
555621b537
Disentable memtables from sstables
...
Remove sstable::write_components(memtable), replacing it with a helper.
Fixes #2354
Message-Id: <20170624142639.16662-1-avi@scylladb.com >
2017-06-26 09:37:11 +02:00
Tomasz Grabiec
f3a6d94398
sstables: Introduce sstable::as_mutation_source()
...
Adaptors extracted from existing testing code.
Message-Id: <1495729508-30081-1-git-send-email-tgrabiec@scylladb.com >
2017-05-25 19:30:20 +03:00
Raphael S. Carvalho
4a86dd473d
tests: add tests/sstable_resharding_test.cc
...
Forgot to add file after resolving conflict.
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com >
Message-Id: <20170422172053.3734-1-raphaelsc@scylladb.com >
2017-04-22 21:09:29 +03:00