Revision 52e7b926a95fbc3ef1ad7f99abbf7e3d00264bf4 authored by Armin Braun on 10 May 2021, 11:40:57 UTC, committed by GitHub on 10 May 2021, 11:40:57 UTC
Use an iterator instead of a list when passing around what to delete.
In the case of very large deletes the iterator is a much smaller than
the actual list of files to delete (since we save all the prefixes
which adds up if the individual shard folders contain lots of deletes).
Also this commit as a side-effect adjusts a few spots in logging where the
log messages could be catastrophic in size when trace logging is activated.
1 parent a7ff5e7
History
File Mode Size
.ci
.github
.idea
benchmarks
buildSrc
client
dev-tools
distribution
docs
gradle
libs
licenses
modules
plugins
qa
rest-api-spec
server
test
x-pack
.dir-locals.el -rw-r--r-- 3.3 KB
.editorconfig -rw-r--r-- 419 bytes
.gitattributes -rw-r--r-- 32 bytes
.gitignore -rw-r--r-- 1.2 KB
CONTRIBUTING.md -rw-r--r-- 36.8 KB
LICENSE.txt -rw-r--r-- 546 bytes
NOTICE.txt -rw-r--r-- 228 bytes
README.asciidoc -rw-r--r-- 2.6 KB
TESTING.asciidoc -rw-r--r-- 32.5 KB
Vagrantfile -rw-r--r-- 14.9 KB
build.gradle -rw-r--r-- 21.2 KB
gradle.properties -rw-r--r-- 876 bytes
gradlew -rwxr-xr-x 5.6 KB
gradlew.bat -rw-r--r-- 2.7 KB
settings.gradle -rw-r--r-- 4.4 KB

README.asciidoc

back to top