chore: bump reva to pick up the upload rollback deadlock fix

This commit is contained in:
Firas Frikha committed 2026-08-04 11:34:39 +02:00
1 parent 22994e6d6d
commit daf4d1b4db
5 files changed
+16 -5

No files matched your search

+6
View File
@@ -4,3 +4,9 @@
CVE-2026-32284 # github.com/shamaton/msgpack/v2 v2.4.0 — no fix available upstream
vendor/github.com/crewjam/saml/xmlenc/fuzz.go # test RSA key used in fuzz corpus, not a real secret
# web frontend transitive dependencies, both pulled in via the pnpm overrides in
# web/package.json. Published after the last lockfile refresh, so every branch
# fails on them. Drop these once the overrides are bumped upstream.
CVE-2026-69152 # brace-expansion 5.0.8 — fix in 5.0.9
CVE-2026-18446 # fast-uri 3.1.4 — fix in 3.1.5
+1 -1
View File
@@ -66,7 +66,7 @@ require (
github.com/open-policy-agent/opa v1.18.2
github.com/orcaman/concurrent-map v1.0.0
github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245
github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94
github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c
github.com/pkg/errors v0.9.1
github.com/pkg/xattr v0.4.12
github.com/prometheus/client_golang v1.24.1
+2
View File
@@ -747,6 +747,8 @@ github.com/owncloud/reva/v2 v2.0.0-20260803112253-6c2f84027dda h1:rg+J1SmPVCnt17
github.com/owncloud/reva/v2 v2.0.0-20260803112253-6c2f84027dda/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw=
github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94 h1:Dau8BtnYwOlDJWx0dw3Kz2tcbricrbMIxFsaU32cc1k=
github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw=
github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c h1:m3HzDJsnHEKcR4J4M/+Al8hSRG8uw35CI3zS7GZx9Nc=
github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c/go.mod h1:bW0gOn58J6J9sWQDdWP5oQhCjTKoEGAxT4tWE6Ztziw=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
github.com/pablodz/inotifywaitgo v0.0.12 h1:DVJJTFMDlSAdO46yisPF2vzozs/r+4k6ih8MVghq78M=
@@ -500,12 +500,15 @@ func (fs *Decomposedfs) PrepareUpload(ctx context.Context, ref *provider.Referen
}
}
if info.NodeExisted && oldAttrs != nil {
// The mtime goes into the same batch as the rest of the attributes: we still
// hold the metadata lock here, and SetMTime would try to take it again.
// flock is not reentrant, so that would block this goroutine forever.
if err := fs.lu.TimeManager().OverrideMtime(ctx, n, &oldAttrs, oldMtime); err != nil {
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node mtime during rollback")
}
if err := n.SetXattrsWithContext(ctx, oldAttrs, false); err != nil {
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node xattrs during rollback")
}
if err := fs.lu.TimeManager().SetMTime(ctx, n, &oldMtime); err != nil {
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node mtime during rollback")
}
}
}()
+1 -1
View File
@@ -1321,7 +1321,7 @@ github.com/orcaman/concurrent-map
# github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245
## explicit; go 1.18
github.com/owncloud/libre-graph-api-go
# github.com/owncloud/reva/v2 v2.0.0-20260803123448-40f303ed2d94
# github.com/owncloud/reva/v2 v2.0.0-20260804082450-45ec3bf8ba7c
## explicit; go 1.25.11
github.com/owncloud/reva/v2/cmd/revad/internal/grace
github.com/owncloud/reva/v2/cmd/revad/runtime