You're pretty vague. The insert was parallel or sequential?
The final document counts shows 500.000 docs or 499.994? Is it a single instance CouchDB Server? All the docs where in the same database? How was the disk load during the test? "No DB Shards could be opened" is a pretty vague message that may be generated by many different causes. If it's randomly appearing on a "normally working" instance, in my experience it may be related to slow IO: writes to disk pile up and when the write queue is too long some writes start to timeout giving the No DB Shards could be opened. What where the N and Q settings of your test database? --- Andrea Brancatelli On 2020-09-28 13:11, Paul Milner wrote: > Hello > > I am testing my DB installation and I have an insert of a document that has > been done ~500'000 times in one process. This should multiply significantly > as more users come onboard. > > Everything ran to completion, but in the log I got the following error: > > No DB shards could be opened.","stack":"Error: No DB shards could be > opened.\n at Request._callback - about 6 times > > Can someone point me in the right direction as to how I can debug this > please? > > Thanks a lot > Best regards > Paul
