Skip to content

Update 0057-sdk3-analytics.md#150

Open
programmatix wants to merge 4 commits into
masterfrom
analytics-operational-cluster
Open

Update 0057-sdk3-analytics.md#150
programmatix wants to merge 4 commits into
masterfrom
analytics-operational-cluster

Conversation

@programmatix

Copy link
Copy Markdown
Contributor

No description provided.

mikereiche
mikereiche previously approved these changes Jun 19, 2025
avsej
avsej previously approved these changes Jun 20, 2025
@avsej
avsej requested a review from mikereiche June 20, 2025 15:15
chvck
chvck previously approved these changes Jun 23, 2025
Comment thread rfc/0057-sdk3-analytics.md Outdated
@programmatix
programmatix dismissed stale reviews from chvck and avsej via 48a287b June 26, 2025 10:33
Comment thread rfc/0057-sdk3-analytics.md Outdated
Comment on lines +197 to +199
[MB-67103](https://jira.issues.couchbase.com/browse/MB-67103) adds to the cluster and bucket configs a `prodName` string field identifying the cluster type.

Before performing each analytics operation, check the cluster config, and iff the prodName field is present, check if it starts with "Couchbase Server". If it doesn't, fast-fail the request with a generic `CouchbaseException`. A suitable error message could be:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We ended up doing something slightly different to this. We are checking that the "prod" (not "prodName") field does not have the value "analytics". See https://jira.issues.couchbase.com/browse/CBD-6390

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@programmatix I've pushed an update to this to reflect the change to using prod instead of prodName.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you - this slipped my notice.

| Language | Team Member | Signoff Date | Revision |
|------------|---------------------|-----------------|----------|
| Node.js | Jared Casey | May 1, 2025 | #3 |
| Go | Charles Dixon | April 22, 2020 | #1 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Go | Charles Dixon | October 29, 2025 | #4 |

chvck
chvck previously approved these changes Oct 29, 2025
@DemetrisChr
DemetrisChr requested review from avsej, chvck, dnault, jeffrymorris and thejcfactor and removed request for mikereiche April 28, 2026 09:23
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.

5 participants