keith-turner opened a new issue, #4376: URL: https://github.com/apache/accumulo/issues/4376
Conditional mutations are used for metadata updates now. Conditional mutations can return a result of [UNKNOWN](https://github.com/apache/accumulo/blob/9550da7c838994f9f6e9547819566b01e4b1dc6e/core/src/main/java/org/apache/accumulo/core/client/ConditionalWriter.java#L114). The Ample code that handles conditional updates has [a method](https://github.com/apache/accumulo/blob/9550da7c838994f9f6e9547819566b01e4b1dc6e/core/src/main/java/org/apache/accumulo/core/metadata/schema/Ample.java#L631) that accepts a lambda for handling these unknown conditions. This [code](https://github.com/apache/accumulo/blob/9550da7c838994f9f6e9547819566b01e4b1dc6e/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java#L1346) shows an example lambda. These lambdas in the code currently have no test. Need to devise a way to test these and then start writing test for all of the conditions. It is possible that Ample may need to change to make this condition more testable. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
