Refine the granularity of lock in BTreeIndexer: previously, a write lock is used within the overall scope of flush(), the read operation might wait too long due to the overhead of merge operation within flush() the write lock was refined with a smalller granularity such that it is only used when updating the storage
Refine the granularity of lock in BTreeIndexer:
previously, a write lock is used within the overall scope of flush(),
the read operation might wait too long due to the overhead of merge
operation within flush()
the write lock was refined with a smalller granularity such that it
is only used when updating the storage

pombredanne/izenelib,pombredanne/izenelib,izenecloud/izenelib,izenecloud/izenelib,izenecloud/izenelib,pombredanne/izenelib,pombredanne/izenelib,izenecloud/izenelib