Skip to content

fix: [ocisdev-1433] fix public share, add The grpc clients keepalive … - #13048

Merged
2403905 merged 3 commits into
stable-8.2from
fix/8.2/OCISDEV-1433
Oct 2, 2026
Merged

2403905 merged 3 commits into
stable-8.2from
fix/8.2/OCISDEV-1433

Conversation

@2403905

@2403905 2403905 commented Oct 2, 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


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:

@2403905
2403905 requested a review from a team as a code owner October 2, 2026 12:53
@kw-security

kw-security commented Oct 2, 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.

kobergj
kobergj previously approved these changes Oct 2, 2026
@mmattel

mmattel commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

This is 8.2 docs relevant (and all other version this is ported to) and needs a manual change in the Extended Environment Variables documentation part.

2403905 and others added 3 commits October 2, 2026 21:16
…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.

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

* 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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
The go.mod bump to go 1.26.8 made go vet flag loadTemplates' calls to
t.Get(nt.Subject/nt.Message) as non-constant format strings, breaking
the build for services/userlog/pkg/service. These are translation
lookup keys, not printf format strings, so route the call through a
local func value to defeat vet's static trace.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@2403905
2403905 force-pushed the fix/8.2/OCISDEV-1433 branch from d79982f to 497e064 Compare October 2, 2026 19:16
@mmattel

mmattel commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Note when back/forward ports are created post merging, add a reference in the comment text so I can find it.

@2403905
2403905 enabled auto-merge (squash) October 2, 2026 19:18
@2403905
2403905 merged commit 12d4423 into stable-8.2 Oct 2, 2026
@2403905
2403905 deleted the fix/8.2/OCISDEV-1433 branch October 2, 2026 19:46
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.

5 participants