-
Notifications
You must be signed in to change notification settings - Fork 138
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
Ignoring specific collection name (and scope) from config file #6626
Comments
Now it works because I've updated the database config with an API call (PUT) "http://localhost:4985/demobucket/_config". |
You're steps look fine to me. I also had a go at reproducing this and I also couldn't repro your issue. My steps were:
I would advise you move away from legacy config like yours above and use the REST API to create and manage databases in sync gateway if possible. |
In step 3, please show me your legacy config and the new upgraded config. |
Sync Gateway version
3.1
Operating system
Running on docker (my laptop is Win 11)
Config file
Log output
When going to "http://localhost:4985/demobucket._default.specific_collection/_changes" I get:
{
"error": "not_found",
"reason": "keyspace demobucket._default.specific_collection not found"
}
Expected behavior
I expect to see the changes in the specific collection that I configured in the config file
Actual behavior
What actually happened?
Steps to reproduce
--
I think this is because in the file "bootstrap.go" the collection name that being delivered is "DefaultCollection()" instead of the collection that is been provided in the config.
The text was updated successfully, but these errors were encountered: