Skip to content

Conversation

@morningman
Copy link
Contributor

  1. Only collect all error replicas if publish task is timeout.
  2. Add 2 metrics to monitor the success and failure of txn.

1. Only collect all error replicas if publish task is timeout.
2. Add 2 metrics to monitor the success of failure of txn.

public boolean isPublishTimeout() {
// timeout is between 3 to 10 seconds.
long timeoutMillis = Math.min(Config.publish_version_timeout_second * publishVersionTasks.size() * 1000, 10000);
Copy link
Contributor

Choose a reason for hiding this comment

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

set 10000 to a config, and the minimum value should be 5min

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Set it as Config.load_straggler_wait_second

@morningman morningman merged commit dedfccf into apache:master Nov 26, 2018
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.

3 participants