Skip to content

Commit

Permalink
remove tailing_iter.h/cc
Browse files Browse the repository at this point in the history
Summary: as title

Test Plan:
make all check
ran db_bench and saw seek stats at the end

Reviewers: yhchiang, igor, sdong

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D21651
  • Loading branch information
Lei Jin committed Aug 13, 2014
1 parent 5d0074c commit 218857b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 322 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ TESTS = \
table_test \
thread_local_test \
geodb_test \
rate_limiter_test \
rate_limiter_test \
cuckoo_table_builder_test \
options_test \
cuckoo_table_builder_test \
cuckoo_table_reader_test \
Expand Down Expand Up @@ -235,7 +236,7 @@ valgrind_check: all $(PROGRAMS) $(TESTS)
echo $$t $$((etime - stime)) >> $(VALGRIND_DIR)/valgrind_tests_times; \
done

unity.cc:
unity.cc:
$(shell (export ROCKSDB_ROOT="$(CURDIR)"; "$(CURDIR)/build_tools/unity" "$(CURDIR)/unity.cc"))

unity: unity.cc unity.o
Expand Down
6 changes: 4 additions & 2 deletions db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "db/merge_helper.h"
#include "db/table_cache.h"
#include "db/table_properties_collector.h"
#include "db/tailing_iter.h"
#include "db/forward_iterator.h"
#include "db/transaction_log_impl.h"
#include "db/version_set.h"
Expand Down Expand Up @@ -3704,7 +3703,10 @@ Status DBImpl::NewIterators(
#else
for (auto cfh : column_families) {
auto cfd = reinterpret_cast<ColumnFamilyHandleImpl*>(cfh)->cfd();
iterators->push_back(new TailingIterator(env_, this, options, cfd));
auto iter = new ForwardIterator(this, options, cfd);
iterators->push_back(
NewDBIterator(env_, *cfd->options(), cfd->user_comparator(), iter,
kMaxSequenceNumber));
}
#endif
} else {
Expand Down
221 changes: 0 additions & 221 deletions db/tailing_iter.cc

This file was deleted.

97 changes: 0 additions & 97 deletions db/tailing_iter.h

This file was deleted.

0 comments on commit 218857b

Please sign in to comment.