Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

FileWatcher: Support internal moves without re-creating and multiple active moves at once #341

Merged
merged 2 commits into from
Aug 16, 2019

Conversation

twelho
Copy link
Contributor

@twelho twelho commented Aug 16, 2019

This enables the FileWatcher to perform internal moves (e.g. a watched directory to its watched subdirectory) by performing a remap of the MappedRawStorage instead of having to delete and re-create the VM. Also enables tracking multiple active moves at once, so mv *.yml subdir/ now works, and creation and deletion updates for files moved in/out of watched directories now work properly.
Fixes #327.

cc @luxas

@twelho twelho added kind/design Categorizes issue or PR as related to the design of the project. kind/enhancement Categorizes issue or PR as related to improving an existing feature. labels Aug 16, 2019
@twelho twelho added this to the v0.5.1 milestone Aug 16, 2019
@twelho
Copy link
Contributor Author

twelho commented Aug 16, 2019

Approved by @luxas and CI is green, merging 👍

@twelho twelho merged commit fbfc446 into weaveworks:master Aug 16, 2019
@twelho twelho deleted the filewatcher-move branch August 16, 2019 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/design Categorizes issue or PR as related to the design of the project. kind/enhancement Categorizes issue or PR as related to improving an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitOps should be file-location agnostic
2 participants