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

Improve snapshot synchronization diagnostic logging #216

Merged
merged 6 commits into from
Oct 27, 2023

Conversation

xirc
Copy link
Contributor

@xirc xirc commented Oct 23, 2023

This change improves diagnostic logging in snapshot synchronization. It contains the following improvements:

  • Fix thread-unsafe logger use
  • Log each EntitySnapshot copy progress
  • Log EntitySnapshotsUpdated events that SnapshotSyncManager subscribed

Taichi Yamakawa added 4 commits October 13, 2023 13:57
A logger of SnapshotSyncManager should be thread-safe since multiple
threads call methods of the logger in event stream processing. However,
the logger has been thread-unsafe.
@xirc xirc marked this pull request as ready for review October 24, 2023 00:37
@xirc xirc requested a review from negokaz October 24, 2023 00:37
Copy link
Contributor

@negokaz negokaz left a comment

Choose a reason for hiding this comment

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

@xirc
Great! I left a comment.

Copy link
Contributor

@negokaz negokaz left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@negokaz negokaz enabled auto-merge October 25, 2023 02:50
@negokaz negokaz merged commit 377d39a into master Oct 27, 2023
@negokaz negokaz deleted the improve-snapshot-synchronization-diagnostic-logging branch October 27, 2023 01:06
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