-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Remove more checkstyle suppressions #36735
Conversation
This commit removes several more line length violations from checkstyle suppression. relates elastic#34884
Pinging @elastic/es-core-infra |
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left some very minor comments regarding additional cosmetic changes.
table.addCell("pri.segments.fixed_bitset_memory", "default:false;text-align:right;desc:memory used by fixed bit sets for nested object field types and type filters for types referred in _parent fields"); | ||
table.addCell("segments.fixed_bitset_memory", | ||
"sibling:pri;alias:sfbm,fixedBitsetMemory;default:false;text-align:right;desc:memory used by fixed bit sets for" + | ||
" nested object field types and type filters for types referred in _parent fields"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be "unidented" by 4 spaces. Also just for the "beauty" of things you can move the leading whitespace char to the prev line.
" nested object field types and type filters for types referred in _parent fields"); | ||
table.addCell("pri.segments.fixed_bitset_memory", | ||
"default:false;text-align:right;desc:memory used by fixed bit sets for nested object" + | ||
" field types and type filters for types referred in _parent fields"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
"alias:svmm,segmentsVersionMapMemory;default:false;text-align:right;desc:memory used by version map"); | ||
table.addCell("segments.fixed_bitset_memory", | ||
"alias:sfbm,fixedBitsetMemory;default:false;text-align:right;desc:memory used by fixed bit sets for nested object" + | ||
" field types and type filters for types referred in _parent fields"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
@@ -1509,7 +1517,8 @@ public void restore() throws IOException { | |||
logger.trace("[{}] [{}] restoring from to an empty shard", shardId, snapshotId); | |||
recoveryTargetMetadata = Store.MetadataSnapshot.EMPTY; | |||
} catch (IOException e) { | |||
logger.warn(() -> new ParameterizedMessage("{} Can't read metadata from store, will not reuse any local file while restoring", shardId), e); | |||
logger.warn(() -> new ParameterizedMessage("{} Can't read metadata from store, will not reuse any local" + | |||
" file while restoring", shardId), e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here for the leading whitespace char.
} | ||
} else { | ||
throw new RepositoryVerificationException(metadata.name(), "a file written by master to the store [" + blobStore() + "] cannot be accessed on the node [" + localNode + "]. " | ||
throw new RepositoryVerificationException(metadata.name(), "a file written by master to the store [" + blobStore() + | ||
"] cannot be accessed on the node [" + localNode + "]. " | ||
+ "This might indicate that the store [" + blobStore() + "] is not shared between this node and the master node or " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe here and below you can move the +
to the end of the prev line.
@elasticmachine run gradle build tests 1 |
This commit removes several more line length violations from checkstyle suppression. relates #34884
This commit removes several more line length violations from checkstyle
suppression.
relates #34884