Skip to content
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

CBG-3698: [3.1.4 backport] Allow user_xattr_key to be removed with an empty-string POST/upsert #6668

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

gregns1
Copy link
Contributor

@gregns1 gregns1 commented Feb 6, 2024

CBG-3698

backport of CBG-3696: Empty user_xattr_key doesnt clear db config field

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

…T/upsert (#6627)

* Allow user_xattr_key to be removed with an empty-string POST/upsert

* Move user xattr tests into their own package and organise by functionality

* Add new TestUserXattrSetUnsetDBConfig test for empty string POST/Upsert and nil on PUT

* Run addlicense

* Force new test to run with persistent config

* Address PR comments
@gregns1 gregns1 merged commit 525634d into release/3.1.4 Feb 6, 2024
24 checks passed
@gregns1 gregns1 deleted the CBG-3698 branch February 6, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants