I need to change this parameter. Default is 1048576 bytes. I want at least 2097152 bytes.
I already know this is not recommended for a production environment as I have already read in this forum.
I’m using Couchbase 4.5 with Docker.
I already changed the file “opt/couchbase/etc/couchdb/default.ini” and restarted the container and later the service inside the container. But it doesn’t take effect.
During my tests, I changed the file “opt/couchbase/etc/couchdb/default.ini” again to set a new value for the parameter “function_timeout” and it worked. I tested with a sleep inside map function and the log showed timeout error.
It means that when I restart Couchbase it takes the new configuration.
But change the parameter “max_kv_size_per_doc” makes no difference. Does anyone know why?
Did you rebuild your indexes? The change to the value does not cause a reindex so you may need to drop and republish the view to production.
thanks
-cihan