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

refactor(clustering): dont generate event for full sync #13854

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

chronolaw
Copy link
Contributor

Summary

KAG-5804

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 #[issue number]

@github-actions github-actions bot added core/clustering cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Nov 11, 2024
@chronolaw chronolaw marked this pull request as ready for review November 11, 2024 10:56
@@ -277,7 +275,10 @@ local function do_sync()
", version: ", delta_version,
", type: ", delta_type)

ev = { delta_type, crud_event_type, delta_entity, old_entity, }
-- wipe the whole lmdb, should not have events
Copy link
Contributor

Choose a reason for hiding this comment

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

This is worth refactoring. Let's find a better form of the code.

@ADD-SP ADD-SP merged commit a6dceee into master Nov 13, 2024
26 checks passed
@ADD-SP ADD-SP deleted the refactor/no_event_for_lmdb_wipe branch November 13, 2024 02:51
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

5 participants