hkeebler commented on issue #1281: Update TabletTime.maxMetadataTime(..) to use MetadataTime objects instead of string URL: https://github.com/apache/accumulo/issues/1281#issuecomment-516405524 This update is fairly small and straightforward. ```java public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { // null value will sort lower if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; } ``` The larger work is updating the calling methods to utilize the MetadataTime objects. At this time the only class that uses this method is TabletGroupWatcher (other than tests). To properly do it this class should be updated to use the ample metadata implementation. I'm thinking of just doing it as part of this ticket rather than opening a new one.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
