Skip to content

fix: [ocisdev-1433] fix public share, add The grpc clients keepalive and more (#13020) - #13068

Merged
2403905 merged 1 commit into
masterfrom
fix/9.0/OCISDEV-1433
Oct 6, 2026
Merged

2403905 merged 1 commit into
masterfrom
fix/9.0/OCISDEV-1433

Conversation

@2403905

@2403905 2403905 commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

…and more (#13020)

  • fix: the public share configuration and fixed graceful shutdown

  • fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE

The setting closed healthy grpc connections on a timer so that clients would redo their DNS lookup. It never helped against the failure it was reached for - a connection whose peer stopped answering - because the age limit is enforced by the server, the grace period was left at infinity so a request already in flight was never ended, and any value without a unit suffix silently disabled it again.

Detecting a peer that stops answering is now the job of the grpc clients, which ping the peer while a request is in flight. The servers here got the matching enforcement policy so they accept those pings; the client side arrives with the next reva bump.

  • fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.

  • chore: bump reva

  • fix: The keepalive added to grpc clinet

  • chore: bump reva

  • build(deps): bump go 1.26.8, grpc-go dependency


(cherry picked from commit e86eb4d)

For the 9.0 branch, the reva dependency was pointed at reva's main-branch merge of PR #748 (commit 373f9509a, pseudo-version v2.0.0-20261005091647-373f9509a363) instead of the 8.2-targeted e0beaa380005, since the 8.2 merge predates the VaultMode/UploadSessionFilter.Orphaned APIs already present on the 9.0 reva lineage.

Co-authored-by: Claude Opus 5 [email protected]
Co-Authored-By: Claude Sonnet 5 [email protected]

Conflicts:

changelog/unreleased/security-bump-grpc.md

go.mod

go.sum

vendor/google.golang.org/grpc/server.go

vendor/google.golang.org/grpc/stream.go

vendor/google.golang.org/grpc/version.go

vendor/modules.txt

Description

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

…and more (#13020)

* fix: the public share configuration and fixed graceful shutdown

* fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE

The setting closed healthy grpc connections on a timer so that clients would redo
their DNS lookup. It never helped against the failure it was reached for - a
connection whose peer stopped answering - because the age limit is enforced by
the server, the grace period was left at infinity so a request already in flight
was never ended, and any value without a unit suffix silently disabled it again.

Detecting a peer that stops answering is now the job of the grpc clients, which
ping the peer while a request is in flight. The servers here got the matching
enforcement policy so they accept those pings; the client side arrives with the
next reva bump.

* fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.

* chore: bump reva

* fix: The keepalive added to grpc clinet

* chore: bump reva

* build(deps): bump go 1.26.8, grpc-go dependency

---------

(cherry picked from commit e86eb4d)

For the 9.0 branch, the reva dependency was pointed at reva's main-branch
merge of PR #748 (commit 373f9509a, pseudo-version
v2.0.0-20261005091647-373f9509a363) instead of the 8.2-targeted
e0beaa380005, since the 8.2 merge predates the VaultMode/UploadSessionFilter.Orphaned
APIs already present on the 9.0 reva lineage.

Co-authored-by: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Sonnet 5 <[email protected]>

# Conflicts:
#	changelog/unreleased/security-bump-grpc.md
#	go.mod
#	go.sum
#	vendor/google.golang.org/grpc/server.go
#	vendor/google.golang.org/grpc/stream.go
#	vendor/google.golang.org/grpc/version.go
#	vendor/modules.txt
@2403905
2403905 requested a review from a team as a code owner October 5, 2026 13:29
@kw-security

kw-security commented Oct 5, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@2403905
2403905 merged commit 9143307 into master Oct 6, 2026
@2403905
2403905 deleted the fix/9.0/OCISDEV-1433 branch October 6, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants