tiedot
tiedot copied to clipboard
does tiedot has max storage limit?
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
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.