Q: Can I close the DB when a manual compaction is in progress?
A: No, it's not safe to do that. However, you call CancelAllBackgroundWork(db, true) in another thread to abort the running compactions, so that you can close the DB sooner. Since 6.5, you can also speed it up using DB::DisableManualCompaction().
Would this be the exception to the rule of crash safety?--
You received this message because you are subscribed to the Google Groups "rocksdb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rocksdb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/be404999-80ac-4cee-8449-5734d510d02en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/53cd76db-448c-4b67-bbd2-3a38c1fe4d8fn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "rocksdb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rocksdb/Lruy6LV4g7U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rocksdb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/469c6e6b-7408-4d65-ac76-b5ce9ef524d9n%40googlegroups.com.