Dangerous Reduce is not protected
So i tried to following reduce function for testing the fail over system with couchdb:
Well this is not working , but its also crash all server at the cluster completly!!
Although using devlopment view with a diffrent desgin doc its still crash the CPU of all the servers at the node only restarting after service restart on every server.
i think its a huge risk that should ne noted for all couchbase users and to understand the limitions of devlopment enviorment. there is a JS syntax check , but there is now system recovery scheme for this event.
so watch out...