jiacai2050 commented on issue #1553:
URL: https://github.com/apache/horaedb/issues/1553#issuecomment-2280536345

   > The key in the map is `<regionId>:<tableId>`,
   
   I think we can encode regionId in wal directory path, so the key could only 
contains `tableId`.
   
   > Use the manifest file to skip logs that have already been deleted.
   
   How will you skip WAL files? Which strategy will you use?
   
   > Update the values in the map, create a new manifest file, and overwrite 
the old file.
   
   This is the normal case, what if there are some partials error, such as 
overwrite failed, you need to document more details, pseudo code or sequence 
diagram may help.
   
   
   > Record the maximum sequence number of all tables in each segment file in 
memory
   
   How will you recovery this info when server start up? do we need to iterate 
the whole WAL files?
   
   
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to