Commit dc4224f
Sync translog without lock before trim unreferenced readers (#47790)
This commit is similar to the optimization made in #45765. With this
change, we fsync most of the data of the current generation without
holding writeLock when trimming unreferenced readers.
Relates #457651 parent 302e09d commit dc4224f
File tree
1 file changed
+3
-0
lines changed- server/src/main/java/org/elasticsearch/index/translog
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1678 | 1678 | | |
1679 | 1679 | | |
1680 | 1680 | | |
| 1681 | + | |
| 1682 | + | |
1681 | 1683 | | |
1682 | 1684 | | |
1683 | 1685 | | |
| |||
1705 | 1707 | | |
1706 | 1708 | | |
1707 | 1709 | | |
| 1710 | + | |
1708 | 1711 | | |
1709 | 1712 | | |
1710 | 1713 | | |
| |||
0 commit comments