Repository navigation
PipeConsensus: add metrics and fix some bugs for pipeConsensus #12723
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
Merged
OneSizeFitsQuorum
merged 25 commits into
apache:master
from
Pengzna:pipeConsensus-metric
Jun 14, 2024
+1,582
−271
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
5789d10
pipeConsensus metrics
Pengzna 44c5d80
Merge remote-tracking branch 'refs/remotes/base/master' into pipeCons…
Pengzna 86f8984
fix reference bug and enqueue bug
Pengzna 06658d2
spotless
Pengzna 158f45e
fix metric bug
Pengzna 894a3f0
fix comment
Pengzna b764ebc
fix syncLag bug
Pengzna 35e3362
fix gauge invalid bug
Pengzna 6a44de8
fix review
Pengzna 870cc5d
fix warning
Pengzna 79bf5f8
fix bug
Pengzna 3a3d5de
fix syncLag bug
Pengzna ec59425
fix metric name
Pengzna b3f049b
fix review
Pengzna 7e0e9f4
fix review
Pengzna bb924e4
fix review
Pengzna e6310dd
fix review
Pengzna 321f3e0
fix timer
Pengzna 7cd7756
fix TimeEcho-771
Pengzna e48099c
Merge remote-tracking branch 'refs/remotes/base/master' into pipeCons…
Pengzna f7f1044
resolve conflict and optimize receiver's log
Pengzna 713a290
fix review
Pengzna 86a0219
avoid log error msg when it comes to PipeConsensusEnqueueException
Pengzna 578634a
Revert "avoid log error msg when it comes to PipeConsensusEnqueueExce…
Pengzna 49e9ecc
Merge remote-tracking branch 'refs/remotes/base/master' into pipeCons…
Pengzna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...s/src/main/java/org/apache/iotdb/consensus/pipe/consensuspipe/ConsensusPipeConnector.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
| package org.apache.iotdb.consensus.pipe.consensuspipe; | ||
|
|
||
| public interface ConsensusPipeConnector { | ||
|
Pengzna marked this conversation as resolved.
Resolved
|
||
| long getConsensusPipeCommitProgress(); | ||
|
|
||
| long getConsensusPipeReplicateProgress(); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.