• J
    Enforce write buffer memory limit across column families · a14b7873
    Jonah Cohen 提交于
    Summary:
    Introduces a new class for managing write buffer memory across column
    families.  We supplement ColumnFamilyOptions::write_buffer_size with
    ColumnFamilyOptions::write_buffer, a shared pointer to a WriteBuffer
    instance that enforces memory limits before flushing out to disk.
    
    Test Plan: Added SharedWriteBuffer unit test to db_test.cc
    
    Reviewers: sdong, rven, ljin, igor
    
    Reviewed By: igor
    
    Subscribers: tnovak, yhchiang, dhruba, xjin, MarkCallaghan, yoshinorim
    
    Differential Revision: https://reviews.facebook.net/D22581
    a14b7873
db_impl.cc 130.3 KB