Skip to content

Conversation

@morningman
Copy link
Contributor

  1. Add a new CatalogIdGenerator to replace the old AtomicLong, to avoid too many edit logs.
  2. Remove 'Palo' prefix of class PaloMetric.
  3. Add a new histogram to monitor write latency of edit log write.

ISSUE: #328

1. Remove 'Palo' prefix of class Metric.
2. Add a new CatalogIdGenerator to replace the old AtomicLong, to avoid too many edit logs.
3. Add a new histogram to monitor write letency of edit log write.

// performance is more quickly
public synchronized long getNextId() {
if (nextId < batchEndId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nextId is set to 10000. Some successive id is ignored by this function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK

@chaoyli chaoyli merged commit 791e895 into apache:master Nov 20, 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.

2 participants