-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat(clustering/sync): flatten and report validation error #14262
base: master
Are you sure you want to change the base?
Conversation
We should open a same PR in CE. |
this is a CE pr now |
if not ok then | ||
notify_error(ns_delta.lastest_version, err_t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which version should we use? dp's current version or delta's version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this lastest_version will be introduced by this rpc spec: https://github.com/Kong/openrpc_specfiles/pull/18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/Kong/kong-ee/pull/11238 introduces this new field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if no this field, could we use deltas[#deltas].version?
For pre-running ee test cases, see this pr: https://github.com/Kong/kong-ee/pull/11363 |
Summary
kong.sync.v2.notify_validation_error
(spec: https://github.com/Kong/openrpc_specfiles/pull/18/)Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
Fix KAG-6351 KAG-5898 KAG-6381