Shard expiration through raft

Fix #767