-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 7.x] Add optional content checking to ResourceWatcher (#79532)
* Add optional content checking to ResourceWatcher In some cloud environments, there may be frequent synchronization of configuration files from the orchestration layer to the ES container. This can trigger frequent, unnecessary reloading of files. Previously, code that used the ResourceWatcherService / FileWatcher would need to detect "no-op" file changes itself. With the addition of this content checking support, it can be handled efficiently by the Resource Watcher Service. Backport of: #79423 * Deal with modification dates on JDK8 JDK only returns lastModified FileType at seconds granularity
- Loading branch information
Showing
5 changed files
with
290 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.