Skip to content

Commit

Permalink
chore(bors): merge pull request #809
Browse files Browse the repository at this point in the history
809: fix(csi-node/mounts): update deps to get safeMountIter fix r=tiagolobocastro a=tiagolobocastro

Dep update fixes deadlock on the new safe mount which basically looped forever trying to read mounts.
This meant the csi-node got stuck on stage calls and volumes would not get staged therefore pods would stay stuck in ContainerCreating forever.

Co-authored-by: Tiago Castro <[email protected]>
  • Loading branch information
mayastor-bors and tiagolobocastro committed Apr 18, 2024
2 parents 3ef8116 + f2d5303 commit ae1819b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,18 @@ pre_fetch_cargo_deps() {

local outLink="--no-out-link"
local cargoVendorMsg=""
local cargoVendorDir=""
if [ -n "$CARGO_VENDOR_DIR" ]; then
if [ "$(realpath -s "$CARGO_VENDOR_DIR")" = "$(realpath -s "$SCRIPTDIR/..")" ]; then
if [ "$(realpath -ms "$CARGO_VENDOR_DIR")" = "$(realpath -ms "$SCRIPTDIR/..")" ]; then
cargoVendorDir="$CARGO_VENDOR_DIR/$GIT_BRANCH"
else
cargoVendorDir="$CARGO_VENDOR_DIR/$project/$GIT_BRANCH"
fi

cargoVendorMsg="into $(realpath -ms "$cargoVendorDir") "
outLink="--out-link "$cargoVendorDir""
fi

for (( attempt=1; attempt<=maxAttempt; attempt++ )); do
if $NIX_BUILD $outLink -A "$nixAttrPath"; then
[ -n "$cargoVendorDir" ] && cargoVendorMsg="into $(realpath -s "$cargoVendorDir") "
echo "Cargo vendored dependencies pre-fetched "$cargoVendorMsg"after $attempt attempt(s)"
return 0
fi
Expand Down

0 comments on commit ae1819b

Please sign in to comment.