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

allegro-internal/flex-roadmap#804 Added/removed logs #431

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

nastassia-dailidava
Copy link
Contributor

No description provided.

@@ -268,12 +268,15 @@ public DeltaWatch createDeltaWatch(
String version) {
long watchId = watchCount.incrementAndGet();
status.setWatch(watchId, watch);
watch.setStop(() -> status.removeWatch(watchId));
watch.setStop(() -> {
LOGGER.debug("removing watch {}", watchId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

how will this help you with investigating the issue of removing snapshots with existing watches?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

snapshot is getting cleared when watch is removed and id of watch can be connected to the event when it was created while that one can be connected to events when instances of a services were changed, not sure if that will be enough, but right now there's literally nothing that can help debug it

@nastassia-dailidava nastassia-dailidava merged commit c708978 into master Sep 17, 2024
6 of 7 checks passed
@nastassia-dailidava nastassia-dailidava deleted the simple-cache-log branch September 17, 2024 08:07
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.

2 participants