**BUG REPORT** 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? Send schedule messages to dledger cluster and cause message resend. Then change master to slave. - What is expected to see? Message stop resending - What did you see instead? Message still resending while the store is unavailable 2. Please tell us about your environment: 4.9.3 DLedger cluster 3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):