diff --git a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreStatsIT.java b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreStatsIT.java index f50493aedfcdf..45869a3bf7189 100644 --- a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreStatsIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreStatsIT.java @@ -33,7 +33,7 @@ public class RemoteStoreStatsIT extends RemoteStoreBaseIntegTestCase { @Before public void setup() { setupRepo(); - timeBeforeIndexing = RemoteStoreUtils.getCurrentSystemNanoTime() / 1_000_000L; + timeBeforeIndexing = RemoteStoreUtils.getCurrentSystemNanoTime() / 1_000_000L; } public void testStatsResponseFromAllNodes() { diff --git a/server/src/main/java/org/opensearch/action/admin/cluster/remotestore/stats/RemoteStoreStats.java b/server/src/main/java/org/opensearch/action/admin/cluster/remotestore/stats/RemoteStoreStats.java index 7805ee2e0aea5..f1371fb034ca4 100644 --- a/server/src/main/java/org/opensearch/action/admin/cluster/remotestore/stats/RemoteStoreStats.java +++ b/server/src/main/java/org/opensearch/action/admin/cluster/remotestore/stats/RemoteStoreStats.java @@ -203,27 +203,27 @@ static final class Fields { static final String REMOTE_REFRESH_LATENCY_IN_MILLIS = "remote_refresh_latency_in_millis"; /** - * + * Timestamp of last successful remote store upload */ static final String LAST_UPLOAD_TIMESTAMP = "last_upload_timestamp"; /** - * + * Number of total uploads to remote store */ static final String TOTAL_UPLOADS = "total_uploads"; /** - * + * Total time spent on remote store uplaods */ static final String TOTAL_UPLOAD_TIME_IN_MILLIS = "total_upload_time_in_millis"; /** - * + * Represents the size of new data to be transferred as part of a remote store upload */ static final String UPLOAD_BYTES = "upload_bytes"; /** - * + * Time taken by a remote store upload */ static final String UPLOAD_TIME_IN_MILLIS = "upload_time_in_millis"; }