Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ private synchronized void setReaderType() {
int expected = expectedDataLocations(repConfig, getLength());
int available = availableDataLocations(blockInfo.getPipeline(), expected);
reconstructionReader = available < expected;
LOG.info("Available data locations: {}, Expected data locations: {}. Based on this online reconstruction is: {}",
available, expected, reconstructionReader ? "triggered." : "not triggered.");
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the message is needed for normal ("not triggered") case. Also, please reduce verbosity, something like:

Data locations available: {} < expected: {}, using reconstruction read

}

private void createBlockReader() {
Expand Down