You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ddanielr (via GitHub)" <gi...@apache.org> on 2023/06/06 19:34:38 UTC
[GitHub] [accumulo] ddanielr commented on a diff in pull request #3453: Adds validation that tablet does not have operation id and location at the same time
ddanielr commented on code in PR #3453:
URL: https://github.com/apache/accumulo/pull/3453#discussion_r1220213157
##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java:
##########
@@ -597,6 +602,18 @@ private void setLocationOnce(String val, String qual, LocationType lt, boolean s
location = new Location(val, qual, lt);
}
+ private void setOperationIdOnce(String val, boolean suppressError) {
+ if (location != null || operationId != null) {
Review Comment:
Is it still an error condition if an operationId is already set and location is null?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org