forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed coordinator to request, refactored logic for onPhase end, sta…
…rt, and failure Signed-off-by: sahil buddharaju <sahilbud@amazon.com>
- Loading branch information
sahil buddharaju
committed
Jul 24, 2023
1 parent
3533ad3
commit aaafde1
Showing
18 changed files
with
402 additions
and
411 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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
30 changes: 0 additions & 30 deletions
30
server/src/main/java/org/opensearch/action/CoordinatorStats.java
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
server/src/main/java/org/opensearch/action/RequestStats.java
This file contains 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,30 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
package org.opensearch.action; | ||
|
||
import org.opensearch.action.search.SearchRequestStats; | ||
|
||
/** | ||
* Request level stats | ||
* | ||
* @opensearch.internal | ||
*/ | ||
public final class RequestStats { | ||
|
||
public SearchRequestStats searchRequestStats; | ||
|
||
public RequestStats() { | ||
searchRequestStats = new SearchRequestStats(); | ||
} | ||
|
||
public SearchRequestStats getSearchRequestStats() { | ||
return searchRequestStats; | ||
} | ||
|
||
} |
This file contains 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 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 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 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.