Do not sync grains in grains.setval when using local mode
Merge pull request #18825 from lyft/backport-grain-masterless-nosync

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