Commit f749bac
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 c74527e commit f749bac
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 | |
|---|---|---|---|
| |||
1670 | 1670 | | |
1671 | 1671 | | |
1672 | 1672 | | |
| 1673 | + | |
| 1674 | + | |
1673 | 1675 | | |
1674 | 1676 | | |
1675 | 1677 | | |
| |||
1697 | 1699 | | |
1698 | 1700 | | |
1699 | 1701 | | |
| 1702 | + | |
1700 | 1703 | | |
1701 | 1704 | | |
1702 | 1705 | | |
| |||
0 commit comments