-
Notifications
You must be signed in to change notification settings - Fork 374
Should we change containers-mapping
into bolt db
#849
Comments
I would say this is technically feasible but this would bring more dependency to |
@sboeuf Thx for ur response~ There are some points we found in our
Since we just compact it from the Wanna inputs from your guys. And maybe later we wanna to push a pr on refactoring this ~ /cc @WeiZhang555 @woshijpf |
I like the idea of a database, but I think the default should stay as-is for now as @sboeuf has said. It appears bolt is now unmaintained and has been replaced by https://github.com/etcd-io/bbolt. But what about sqlite? Either we take the opinionated approach and choose a single database implementation, or the more flexible approach where we use a package that allows the database backend implementation to be switched easily. Given the impact such a change would have on multiple areas (users, development, test+CI, metrics, docs, upgrading (think stable branches), etc), I suggest you raise this at one of the Architecture Committee meetings to get some clarity on this topic: |
@jodh-intel yep ,The total change is quite big. And we can start from very little~ Considering the large size of Like
Walk through the code, maybe it's good to reduce the reaps. And it's a little step to make the disk storage smaller (of cause take performance into consideration, min read and write times~~) Considering the skip of this AC. Maybe next time , I will raise a topic on this to make it clear ~~~ |
Related: kata-containers/kata-containers#25. |
Consistent device address matching between `getDeviceName()` and `listenToUdevEvents()`
Now we mark contaienrs and sandbox with
contaienrs-mapping
dirs. When we what to getfetchContainerIDMapping
we need to do aioutil.ReadDir(dirPath)
.Should we store the information into a db like bolt db?
Glad to hear your suggestion~
@bergwolf @egernst @sboeuf @grahamwhaley
The text was updated successfully, but these errors were encountered: