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

[3.1.6 backport] CBG-3876 suppress warning for non json objects #6795

Merged
merged 2 commits into from
May 2, 2024

Conversation

torcolvin
Copy link
Collaborator

@torcolvin torcolvin commented Apr 30, 2024

backport of CBG-3835 catch error in case there is a valid json but not a JSON object (#6756)

This was a trivial cherry-pick but needed test changes to work with non multixattr APIs in 0a0aab0 (#6795)

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

torcolvin and others added 2 commits April 30, 2024 19:15
backport of CBG-3835 catch error in case there is a valid json but not a JSON object (#6756)

* Remove logging for invalid JSON in sync attribute

log in the case where there is _sync xattr but the body has become non
json

* Update log messages

* Update db/import_listener.go

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
@bbrks bbrks merged commit 301297c into release/3.1.6 May 2, 2024
24 checks passed
@bbrks bbrks deleted the CBG-3876 branch May 2, 2024 08:40
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.

3 participants