Skip to content

Commit

Permalink
Removing changes to logger statements and fixed javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
  • Loading branch information
shourya035 committed Aug 21, 2023
1 parent 226bdc6 commit efc7f5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class RemoteSegmentStats implements Writeable, ToXContentFragment {
*/
private long totalRefreshBytesLag;
/**
* Total time spent in uploading segments from remote store
* Total time spent in uploading segments to remote store
*/
private long totalUploadTime;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean transferSnapshot(TransferSnapshot transferSnapshot, TranslogTrans
}

public boolean downloadTranslog(String primaryTerm, String generation, Path location) throws IOException {
logger.debug(
logger.info(
"Downloading translog files with: Primary Term = {}, Generation = {}, Location = {}",
primaryTerm,
generation,
Expand Down Expand Up @@ -303,7 +303,7 @@ public void deleteGenerationAsync(long primaryTerm, Set<Long> generations, Runna
* @param minPrimaryTermToKeep all primary terms below this primary term are deleted.
*/
public void deletePrimaryTermsAsync(long minPrimaryTermToKeep) {
logger.debug("Deleting primary terms from remote store lesser than {}", minPrimaryTermToKeep);
logger.info("Deleting primary terms from remote store lesser than {}", minPrimaryTermToKeep);
transferService.listFoldersAsync(ThreadPool.Names.REMOTE_PURGE, remoteDataTransferPath, new ActionListener<>() {
@Override
public void onResponse(Set<String> folders) {
Expand Down Expand Up @@ -341,7 +341,7 @@ private void deletePrimaryTermAsync(long primaryTerm) {
new ActionListener<>() {
@Override
public void onResponse(Void unused) {
logger.debug("Deleted primary term {}", primaryTerm);
logger.info("Deleted primary term {}", primaryTerm);
}

@Override
Expand Down

0 comments on commit efc7f5f

Please sign in to comment.