Skip to content

build: bump keepcurrent for fileSource pre-size fix (follow-up)#673

Merged
reflog merged 2 commits into
mainfrom
reflog/bump-keepcurrent-filesource
Jun 16, 2026
Merged

build: bump keepcurrent for fileSource pre-size fix (follow-up)#673
reflog merged 2 commits into
mainfrom
reflog/bump-keepcurrent-filesource

Conversation

@reflog

@reflog reflog commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #671. Pulls in keepcurrent#10.

Why

#671 deployed the keepcurrent memory fix, but pprof on the rolled-out fleet showed a residual io.ReadAll doubling churn from geo's startup InitFrom(FromFile(...)) read of the cached ~75MB MaxMind mmdb — keepcurrent's fileSource was the one source #9 didn't make size-aware. keepcurrent#10 closes that.

What

go get keepcurrent@<#10> && go mod tidy. keepcurrent stays indirect; no first-party code change. Build is clean (geo-consuming packages incl. the http-proxy command compile; only the pre-existing anacrolix/go-libutp cgo issue, unrelated).

⚠️ Merge order: pinned to the keepcurrent PR-head commit. After keepcurrent#10 squash-merges to main, re-pin to the merged commit (go get github.com/getlantern/keepcurrent@<main-sha> && go mod tidy) before merging this. See the rollout handoff.

Ilya Yakelzon and others added 2 commits June 16, 2026 13:42
Pulls in getlantern/keepcurrent#10, which makes fileSource size-aware so
geo's startup InitFrom(FromFile) read of the cached ~75MB mmdb stops
churning through io.ReadAll's realloc staircase. Completes the memory fix
started in #671 (which covered the web-sync path).

NOTE: pinned to the keepcurrent PR-head commit; re-pin to the squashed main
commit after keepcurrent#10 merges (go get keepcurrent@<main> && go mod tidy).
@reflog reflog merged commit 2e42d57 into main Jun 16, 2026
1 check passed
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.

1 participant