Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

refactor: don't resend message if it is rejected by server #722

Merged
merged 7 commits into from
Jan 11, 2021

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Jan 8, 2021

  1. Don't resend message if it is rejected by server. because it means that the server is overload if it reject this message. So if we resend the message, it will makes the situation even worse.
  2. use cflags to define cluster_name. But we can't use flag validator, because cpp client will not set cluster name. so the validator will always fail for it

@neverchanje neverchanje closed this Jan 8, 2021
@neverchanje neverchanje reopened this Jan 8, 2021
@levy5307 levy5307 merged commit ec34633 into XiaoMi:master Jan 11, 2021
zhangyifan27 pushed a commit to zhangyifan27/rdsn that referenced this pull request Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants