ReplacingMergeTree only deduplicates during background merges, so every login was inserting a new row even when all fields were identical. Now compares the existing record and skips the write if nothing changed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>