dlmarion commented on code in PR #5473:
URL: https://github.com/apache/accumulo/pull/5473#discussion_r2042368487
##########
server/base/src/main/java/org/apache/accumulo/server/compaction/FileCompactor.java:
##########
@@ -459,10 +479,23 @@ public CompactionStats call()
FileSystem fs = this.fs.getFileSystemByPath(mapFile.getPath());
FileSKVIterator reader;
- reader = fileFactory.newReaderBuilder()
+ boolean dropCacheBehindCompactionInputFile = false;
+ if (dropCacheFilePrefixes.contains(FileTypePrefix.ALL)) {
+ dropCacheBehindCompactionInputFile = true;
+ } else {
+ FileTypePrefix type =
FileTypePrefix.fromFileName(mapFile.getFileName());
+ if (dropCacheFilePrefixes.contains(type)) {
+ dropCacheBehindCompactionInputFile = true;
+ }
+ }
+
Review Comment:
There is logging
[here](https://github.com/apache/accumulo/blob/1d274eb60cc4509c785ba29d9dbe7868c2c4fd1f/core/src/main/java/org/apache/accumulo/core/file/rfile/RFileOperations.java#L139-L156)
for writing an RFile and
[here](https://github.com/apache/accumulo/blob/1d274eb60cc4509c785ba29d9dbe7868c2c4fd1f/core/src/main/java/org/apache/accumulo/core/file/blockfile/impl/CachableBlockFile.java#L96-L108)
for reading.
--
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]