Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protection to standby cluster against randomized remote cluster time. #927

Merged
merged 3 commits into from
Jul 7, 2018

Conversation

wxing1292
Copy link
Contributor

  • fix noisy log
  • fix remote timer gate issue, making remote timer resilient to new timer in the past
    add more unit test
  • refactor existing time processing event loop to make it less confusing
  • add rate limiter to timer queue processor, set all max tps from 100 to 20

fix remote timer gate issue, making remote timer resilient to new timer in the past
add more unit test
refactor existing time processing event loop to make it less confusing
@wxing1292 wxing1292 requested a review from samarabbas July 5, 2018 15:24
@wxing1292 wxing1292 merged commit fd7a1db into master Jul 7, 2018
@wxing1292 wxing1292 deleted the logs branch July 7, 2018 00:05
if err != nil {
return nil, err
}
if !t.rateLimiter.Consume(1, t.shard.GetConfig().TransferProcessorMaxPollInterval()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be TimerProcessorMaxPollInterval?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants