diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 18:25:56 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 18:25:56 +0900 |
| commit | 4755779975a140660e66acfcec2cc899179b0b71 (patch) | |
| tree | 37491529031459767a9e1dfdf2e4570a977ab1e5 /src/client/sync/push.ts | |
| parent | d7b55e7d9a3dce5e3d7a71d5266aa2787c6ad5f8 (diff) | |
| download | kioku-4755779975a140660e66acfcec2cc899179b0b71.tar.gz kioku-4755779975a140660e66acfcec2cc899179b0b71.tar.zst kioku-4755779975a140660e66acfcec2cc899179b0b71.zip | |
refactor(sync): remove legacy LWW conflict resolution strategy
Remove the deprecated "newer_wins" strategy from the conflict resolver
as CRDT is now the default and validated approach. The system now uses
only "crdt", "server_wins", and "local_wins" strategies.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/client/sync/push.ts')
| -rw-r--r-- | src/client/sync/push.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/sync/push.ts b/src/client/sync/push.ts index eea671b..61c7f30 100644 --- a/src/client/sync/push.ts +++ b/src/client/sync/push.ts @@ -381,7 +381,7 @@ export function pendingChangesToPushData( * 2. Convert to API format * 3. Send to server * 4. Mark items as synced on success - * 5. Handle conflicts (server wins for LWW) + * 5. Handle conflicts using CRDT merge (fallback to server_wins) */ export class PushService { private syncQueue: SyncQueue; |
