go.mod: Bump go version to 1.22 #1324
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1324
Loading…
Reference in a new issue
No description provided.
Delete branch "elebedeva/frostfs-node:bump-go-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes a part of #1316
Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com
Please use
go.mod:
prefix for this (like we already do).Strange, that it is so easy, I have problems
Ah, I see, could you also change all places where we use a single version of go (like
lint
intests.yml
) to 1.23?We should use the latest one there.
0676ae5eda
tobe0df7f136
I wasn't able to reproduce the exact same error as you have, but have encountered several others. The strangest thing is - panics occur not every
make lint
run. I ranmake lint
6 times in a row and only one time got these panics:be0df7f136
to4afc85ddb1
Bump go version to 1.22to WIP: Bump go version to 1.224afc85ddb1
to982fb1c1f0
WIP: Bump go version to 1.22to Bump go version to 1.22Bump go version to 1.22to WIP: Bump go version to 1.22982fb1c1f0
tod2923900d4
WIP: Bump go version to 1.22to Bump go version to 1.22d2923900d4
tob0c47aaae2
b0c47aaae2
to7d10e814dc
Bump go version to 1.22to WIP: Bump go version to 1.227d10e814dc
to4bc0ee7e18
4bc0ee7e18
tof482dd35bb
@ -1073,7 +1073,7 @@ func initLocalStorage(ctx context.Context, c *cfg) {
c.onShutdown(func() {
c.log.Info(logs.FrostFSNodeClosingComponentsOfTheStorageEngine)
err := ls.Close(context.Background())
Please, test this on dev-env, if we call this function (
onShutdown
, the context should be already cancelled).We may want to add linter exceptions for now and create a task to discuss this further.
context.WithoutCancel
should help.fixed
@ -22,3 +22,3 @@
name: "tracing",
fn: func() {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
ctx, cancel := context.WithTimeout(ctx, time.Second*5)
Same here, it is
closers
,ctx
could be cancelled.replaced with
context.WithoutCancel
WIP: Bump go version to 1.22to go.mod: Bump go version to 1.22lint: Fix conflicts
-->lint: Fix warnings
f482dd35bb
toa345c972bf
Close #1280