Skip to content
  • Venkatesh Radhakrishnan's avatar
    Do not delete iterators for immutable memtables. · cb164bfc
    Venkatesh Radhakrishnan authored
    Summary:
    The immutable memtable iterators are allocated from an arena and there
    is no benefit from deleting these. Also the immutable memtables
    themselves will continue to be in memory until the version set
    containing it is alive. We will not remove immutable memtable iterators
    over the upper bound. We now add immutable iterators to the test.
    
    Test Plan: db_tailing_iter_test.TailingIteratorTrimSeekToNext
    
    Reviewers: tnovak, sdong
    
    Reviewed By: sdong
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D45597
    cb164bfc