Open winteraz opened 6 years ago
tx.Commit() or tx.Rollback() is missing
db uses
wlock sync.Mutex // Allows only one writer at a time.
You dont need a global channel, just use transaction, only one will be processing, other will block and wait
From documentation I understand that concurrent writes are not allowed. I'm not sure if this is correct thus this question to clarify: is boltdb designed only for one single writer (globally)? Am I suppose to maintain a lock on any write? Use case: I want to store access logs of http requests. Does this mean that I need to use a global channel to serialise the access bolt writes ?