Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does tiedot has max storage limit? #170

Open
karterlizard opened this issue Aug 14, 2019 · 1 comment
Open

does tiedot has max storage limit? #170

karterlizard opened this issue Aug 14, 2019 · 1 comment

Comments

@karterlizard
Copy link

karterlizard commented Aug 14, 2019

It works well when I check it yesterday, it has stores 51GB data.
today it grows up to 61GB, it return nothing by http api, also by golang script.
when I use Scrub to fix , panic as below

panic: runtime error: makeslice: len out of range

goroutine 1 [running]:
github.com/HouzuoGuo/tiedot/data.(*Collection).Read(0xc00005e400, 0x17c0abd, 0x0, 0x0, 0x0)
/root/go/src/github.com/HouzuoGuo/tiedot/data/collection.go:47 +0x11f
github.com/HouzuoGuo/tiedot/data.(*Partition).ForEachDoc(0xc000060600, 0x0, 0x14a, 0xc00009de00, 0x1)
/root/go/src/github.com/HouzuoGuo/tiedot/data/partition.go:133 +0xf1
github.com/HouzuoGuo/tiedot/db.(*Col).forEachDoc(0xc0000843c0, 0xc00009de00, 0x510d00)
/root/go/src/github.com/HouzuoGuo/tiedot/db/col.go:116 +0x137
github.com/HouzuoGuo/tiedot/db.(*DB).Scrub(0xc0000602d0, 0x510dff, 0xd, 0x0, 0x0)
/root/go/src/github.com/HouzuoGuo/tiedot/db/db.go:212 +0x581
main.main()
/root/go/src/examples/main/dbtest.go:34 +0x14e

@HouzuoGuo
Copy link
Owner

You're right, I overlooked the maximum size limit and really should have put it in a wiki page somewhere - sorry about that. I wish I had a workaround for this, but cannot think of any right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants