keith-turner commented on PR #4072:
URL: https://github.com/apache/accumulo/pull/4072#issuecomment-1858512594

   > I'm not quite sure how tablet time works in general.
   
   Here is some info.  Each tablet has a concept of time that only moves 
forward.  This time is persisted in the tablet metadata table entry.  As 
mutations arrive in a tablet, if the time was not explicitly set then its set 
on the mutation and tablets time is incremented.  For bulk import one can 
optionally set the tablets current time on an entire file.  The way this works 
is that it allocates a timestamp for the tablet and then persist this with the 
bulk file entry.  When the bulk file is read, if a timestamp is present for the 
file then its applied to everything in the file.  
   
    1. Batch write row=a value=1
    2. Bulk import row=a value=2 and set time.  
   
   With the ability to set time on bulk imports, it allows bulk imports to be 
properly orders with write.  Like the above would set the timestamp on the 2nd 
write by the bulk import such that its higher than the timestamp on the first 
write.
   
   This PR adds coordination between a hosted tablet and the bulk import code 
running in the manager to ensure that timestamp is set correctly.
   


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