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

fix(incremental): dont delete old entity from LMDB if we clear it already #13757

Closed
wants to merge 1 commit into from

Conversation

chobits
Copy link
Contributor

@chobits chobits commented Oct 16, 2024

Summary

fix this case failure: FAIL spec/02-integration/09-hybrid_mode/01-sync_spec.lua:146: CP/DP communication #postgres inc_sync=on sync works proxy on DP follows CP config.

DP receive full sync deltas, but one of this operation needs it to delete a key from the lmdb, but this key does not exist in lmdb if the detals has wipe flag, so it trigger error: 2024/10/15 14:53:05 [error] 31827#0: *8 [lua] rpc.lua:329: unable to create worker mutex and sync: MDB_NOTFOUND: No matching key/data pair found

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix KAG-5551

@github-actions github-actions bot added core/clustering cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Oct 16, 2024
@chobits chobits requested a review from chronolaw October 16, 2024 02:09
@chronolaw
Copy link
Contributor

Please refer to this commit: 3e25a80

@chobits
Copy link
Contributor Author

chobits commented Oct 16, 2024

Please refer to this commit: 3e25a80

wait a minite

@team-gateway-bot team-gateway-bot added the author/community PRs from the open-source community (not Kong Inc) label Oct 16, 2024
@chobits
Copy link
Contributor Author

chobits commented Oct 16, 2024

already fixed in original pr.

@chobits chobits closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author/community PRs from the open-source community (not Kong Inc) cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/clustering size/S skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants