Details
-
Bug
-
Resolution: Fixed
-
Major
-
Morpheus
-
None
-
Untriaged
-
0
-
Unknown
Description
Refactor the code DcpProducer::BufferLog to be "lock free", but let the DcpProducer use a folly::Synchronized<BufferLog>. We don't really need a RW lock as:
a) The locked scope is really small
b) The odds of having multiple readers is small
Attachments
For Gerrit Dashboard: MB-61275 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207249,7 | MB-61275: Refactor: Move lock out of BufferLog | master | kv_engine | Status: MERGED | +2 | +1 |
207637,4 | MB-61275: Use an RW lock for BufferLock | master | kv_engine | Status: MERGED | +2 | +1 |