Fix issue when identical MDM commands are sent twice to the same device when replica DB is being used. (#25355)

For #24816
Fix issue when identical MDM commands are sent twice to the same device
when replica DB is being used.

Root cause was that ctxdb.RequirePrimary wasn't used correctly, and
proper test was missing.

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Victor Lyuboslavsky
2025-01-10 16:50:22 -06:00
committed by GitHub
parent d26afe3e62
commit 7aa3fee45b
4 changed files with 62 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Fix issue when identical MDM commands are sent twice to the same device when replica DB is being used.