yorkie-js-sdk
yorkie-js-sdk copied to clipboard
Optimize sync requests in push-only syncMode to avoid unnecessary syncs
trafficstars
What happened:
Sync requests are being triggered by remote changes even when syncmode is set to pushonly and there are no local changes.
What you expected to happen:
When syncmode is set to pushonly and there are no local changes, sync requests should not be triggered by remote changes.
How to reproduce it (as minimally and precisely as possible):
- clientA: Set
syncmodetopushonly. - clientA: Ensure there are no local changes.
- clientB: Edit document.
- clientA: Observe that a sync request is still triggered.
Anything else we need to know?:
Environment:
- Operating system:
- Browser and version:
- Yorkie version (use
yorkie version): - Yorkie JS SDK version: