fix npe on different write-behind configuration among nodes
Merge pull request #3430 from eminn/fix/npe-different-write-delay-config

fix npe on different write-behind configuration among nodes