couchbase / moss

moss - a simple, fast, ordered, persistable, key-val storage library for golang
Other
959 stars 58 forks source link

document that leveled compaction only looks at top/root collection #40

Open steveyen opened 7 years ago

steveyen commented 7 years ago

The leveled compaction policy decision only looks at the root collection when making its decision in compactMaybe(), so need to doc that up more clearly somewhere.

mschoch commented 7 years ago

Oh interesting, that seems to present a problem for use cases where nothing goes into the root and everything is in a child collection.

steveyen commented 7 years ago

Indeed -- solving that for real is a harder problem / will create a separate ticket for that.