File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ public void recordCachePopulationMetrics(
144144 assert bytesCopied > 0 : "We shouldn't be recording zero-sized copies" ;
145145 cachePopulationBytes .incrementBy (bytesCopied , metricAttributes );
146146
147+ if (luceneFilesExtensions == null ) {
148+ logger .warn ("Blob cache population for file [{}]. This may indicate a new file type that needs to be registered." , blobName );
149+ }
150+
147151 // This is almost certainly paranoid, but if we had a very fast/small copy with a very coarse nanosecond timer it might happen?
148152 if (copyTimeNanos > 0 ) {
149153 cachePopulationThroughput .record (toMebibytesPerSecond (bytesCopied , copyTimeNanos ), metricAttributes );
You can’t perform that action at this time.
0 commit comments