-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(probe): add size change detection #616
Commits on Sep 6, 2021
-
feat(probe): add blockdevice size change detection using udev
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 66215cf - Browse repository at this point
Copy the full SHA 66215cfView commit details -
fix(probe, sysfs): remove zero value check when filling bd capacity
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a1899b8 - Browse repository at this point
Copy the full SHA a1899b8View commit details -
test: add integration tests for size change detection
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aabc3aa - Browse repository at this point
Copy the full SHA aabc3aaView commit details -
test: fix size change integration test
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 544142e - Browse repository at this point
Copy the full SHA 544142eView commit details -
refactor(probe): move change event processing from sysfs to udev probe
process all udev events, including change events in udev probe alone instead of processing them in other probes. The udev probe alone can send out required event message after processing the change events. Since the remaining two types - add and remove are also handled by udev probe, keeping the third type (change) too in the same probe is cleaner and logical. Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f359e3c - Browse repository at this point
Copy the full SHA f359e3cView commit details -
fix(probe): add checks in change handler to prevent extra api calls
the change handling mechanism is currently used to detect changes in blockdevice size, filesystem, and mount-points. Add checks to prevent calls to the kube api server in case any of these fields haven't changed after re-filling the blockdevice details using the probes. Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b26ef96 - Browse repository at this point
Copy the full SHA b26ef96View commit details -
add feature gate for size change detection
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 91cbd1e - Browse repository at this point
Copy the full SHA 91cbd1eView commit details -
merge SizeChangeDection and MountChangeDetection feature flags
merge the two flags into a single flag - `ChangeDetection` Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8b0ee1c - Browse repository at this point
Copy the full SHA 8b0ee1cView commit details -
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d09416c - Browse repository at this point
Copy the full SHA d09416cView commit details -
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 15ad2aa - Browse repository at this point
Copy the full SHA 15ad2aaView commit details -
style(probe): move parameters to separate lines
Co-authored-by: Akhil Mohan <akhilerm@gmail.com> Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 79e8703 - Browse repository at this point
Copy the full SHA 79e8703View commit details -
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for be66f0c - Browse repository at this point
Copy the full SHA be66f0cView commit details -
chore: update unreleased changelog
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a278b72 - Browse repository at this point
Copy the full SHA a278b72View commit details -
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c9405f8 - Browse repository at this point
Copy the full SHA c9405f8View commit details -
fix(probe): do not process change event if bd not in cache
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 47f61c0 - Browse repository at this point
Copy the full SHA 47f61c0View commit details -
fix(probe): reset err when change skipped
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 045c9f8 - Browse repository at this point
Copy the full SHA 045c9f8View commit details -
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 05eed8a - Browse repository at this point
Copy the full SHA 05eed8aView commit details -
refactor(probe): add log line for mount/fs changes in mount probe
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 138a03f - Browse repository at this point
Copy the full SHA 138a03fView commit details -
check only required bd for active status
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Configuration menu - View commit details
-
Copy full SHA for ae17aa0 - Browse repository at this point
Copy the full SHA ae17aa0View commit details -
use buffered epoll to prevent loss of epoll events
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b5778d7 - Browse repository at this point
Copy the full SHA b5778d7View commit details