keith-turner commented on issue #3946:
URL: https://github.com/apache/accumulo/issues/3946#issuecomment-1808380956

   For option 1, TableOperations.getTimeType() read the time type from the 
first tablet in the metadata table for the table.  If the table has no tablets 
then it will throw an exception.
   
   One way to solve option 1 and 2 may be to never delete all of the tablets, 
always leave at least one tablet.  Not sure how this would look in the code 
though.  Wonder if it would be easiest to refactor the 2.1 and main code to 
follow the pattern in elasticity where delete rows only drops files or 
fences/chops and then calls the merge code.  That pattern never deletes all of 
the tablets.  Not sure if that is a good pattern to follow for 2.1 and main 
though.  It depends on how much complexity adding a special case to always keep 
at least one tablet introduces to the current delete rows code.


-- 
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]

Reply via email to