Disable writing freelist to make the file robust against data corruptions
Disable writing freelist to make the file robust against data corruptions

A bbolt database has a freelist to track all pages that are available
for allocation. However writing the list takes some time and reading
the list sometimes panics.

This commit sets NoFreelistSync true to skipping the freelist entirely,
following what etcd does.

https://github.com/etcd-io/etcd/blob/v3.5.2/server/mvcc/backend/config_linux.go#L31

Fixes #4838.

Signed-off-by: Kazuyoshi Kato <732288c132d39c7d9231a005036e5ecd0fff1d64@amazon.com>

mikebrow/containerd,containerd/containerd,containerd/containerd,mikebrow/containerd,estesp/containerd,estesp/containerd,thaJeztah/containerd,thaJeztah/containerd