• I
    BuildBatchGroup -- memcpy outside of lock · 7d9f21cf
    Igor Canadi 提交于
    Summary: When building batch group, don't actually build a new batch since it requires heavy-weight mem copy and malloc. Only store references to the batches and build the batch group without lock held.
    
    Test Plan:
    `make check`
    
    I am also planning to run performance tests. The workload that will benefit from this change is readwhilewriting. I will post the results once I have them.
    
    Reviewers: dhruba, haobo, kailiu
    
    Reviewed By: haobo
    
    CC: leveldb, xjin
    
    Differential Revision: https://reviews.facebook.net/D15063
    7d9f21cf
db_impl.cc 133.3 KB