You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If changing the memtable size for an existing on-disk store is not permitted, this should be documented, and there should be a way to gracefully handle this error. Ideally, if WithMemTableSize is not provided, the Open function should detect the last-used size of the on-disk store.
The text was updated successfully, but these errors were encountered:
What version of Badger are you using?
v3.2103.2
v3.2103.5
v4.2.0
What version of Go are you using?
go version go1.20.1 linux/amd64
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, CPU, OS)?
We run the Go service in a Docker container.
Container OS:
CentOS Linux release 7.9.2009 (Core)
Container CPU: 100 Mhz
Container memory: 16 Gb
What steps will reproduce the bug?
WithMemTableSize(256 * 1024 * 1024)
)WithMemTableSize
option)Expected behavior and actual result.
Expected behavior: database is usable
Actual behavior:
runtime.Goexit
is called, with this stack-trace:Additional information
This is possibly related to #64.
If changing the memtable size for an existing on-disk store is not permitted, this should be documented, and there should be a way to gracefully handle this error. Ideally, if
WithMemTableSize
is not provided, theOpen
function should detect the last-used size of the on-disk store.The text was updated successfully, but these errors were encountered: