dlmarion commented on PR #3123:
URL: https://github.com/apache/accumulo/pull/3123#issuecomment-1348997918

   To summarize the multiple tickets revolving around dropping pages from the 
page cache:
   
   #3077 - calls setDropBehind() on the FSDataInputStream and 
FSDataOutputStream when reading and writing WAL files. Property.TSERV_WAL_SYNC 
can be set to true to enable the WAL output file to be created with 
CreateFlag.SYNC_BLOCK
   
   #3079 - calls FSDataInputStream.setDropBehind() on the input files read in 
FileCompactor.
   
   #3083 - modifies FileCompactor to create output file using 
CreateFlag.SYNC_BLOCK and setDropBehind() when 
Property.TABLE_MAJC_OUTPUT_DROP_CACHE is set to true.
   
   I didn't realize at the time of #3083  that the FileCompactor was used for 
writing minc files also. This PR is for discussion about what the right 
approach is for minc output files. Should we leave their pages in the cache? 
Should we drop them like majc files? Should we make it configurable via a new 
property Property.TABLE_MINC_OUTPUT_DROP_CACHE ?


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