milleruntime commented on PR #2708: URL: https://github.com/apache/accumulo/pull/2708#issuecomment-1127852508
It seems like a work around for this scenario would be to just restart the tserver. If a tserver can recover the Tablet, it should force a flush. According to code in the [tserver](https://github.com/apache/accumulo/blob/ed97eac76da47f711f8f901810cc9d4d8fb27214/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L2429), after a Tablet is loaded and if it still has entries in memory, this means that it recovered from the WAL. Then it will be possible to bypass the mergeFile. From the `prepareForMinC` method in Tablet: https://github.com/apache/accumulo/blob/9c957ab55f28f10dde1321eb613a9ec3e2fa5322/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java#L977-L980 -- 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]
