couchbaselabs / cbforest

C++ wrapper library around ForestDB, for use in Couchbase Lite.
17 stars 12 forks source link

C API: Concurrency fixes for doc-expiration functions #95

Closed snej closed 8 years ago

snej commented 8 years ago

I found some missing database locking in the document-expiration code.

hisundar commented 8 years ago

Thanks Jens, is this meant to address MB-20169 by any chance?

snej commented 8 years ago

I don't think it's related, because .NET doesn't use the thread-safe mode of CBForest (instead it uses a separate handle per thread the way iOS/Mac does.) These were just some things I noticed while doing code inspection to help Hideki diagnose the latest Java crash.