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