Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
flux-kvs: misc fixes #2136
Started just wanting to fix issue #2086, and found two other issues along the way.
For issue #2129 (fix issues unlinking symlinks), the
In one location, the un-normalized key is output instead of the normalized key. For consistency, always output the normalized key.
Fix corner cases in kvs unlink in regards to links. If the link pointed to an invalid target, namespace, or had an infinite cycle, the unlink_safety_check() function would fail and not allow the user to remove the link. Instead, unlink should always allow links to be removed. Re-work unlink_saftety_check() to ensure links are always removable. Add regression tests. Fixes #2129
@@ Coverage Diff @@ ## master #2136 +/- ## ========================================= + Coverage 80.39% 80.4% +0.01% ========================================= Files 201 201 Lines 31710 31742 +32 ========================================= + Hits 25493 25522 +29 - Misses 6217 6220 +3