As specified here :
The Stop-CacheCluster or Restart-CacheCluster cache cluster commands cause all data to be flushed from the memory of all cache hosts in the cluster.
No, it's not possible and I've never seen this kind of issue. I suggest you check the whole process.
Are you using a Read-Through provider ? In that scenario, the cache detects the missing item and calls a specific provider to perform the data load. The item is then seamlessly returned to the cache client and will never be null.
Other things you may have to check
- Check the result of
Restart-CacheCluster
cmdlet (sucess/failure) - Maybe a background task is still running, putting data into the cache
- By using cmdlet
Get-CacheStatistics
, you can check how many items are really in the cache