Do not sync grains in grains.setval when using local mode
Merge pull request #18696 from lyft/no-grain-sync-when-local

Do not sync grains in grains.setval when using local mode