[BUG] data race #115
vtolstov
commented 2024-02-08 08:23:29 +03:00
Owner
```
==================
WARNING: DATA RACE
Write at 0x000003375a30 by goroutine 237:
go.unistack.org/micro-logger-zerolog/v3.(*zeroLogger).Init()
/root/go/pkg/mod/go.unistack.org/micro-logger-zerolog/v3@v3.8.4/zerolog.go:78 +0x7de
go.unistack.org/micro-logger-zerolog/v3.(*zeroLogger).Clone()
/root/go/pkg/mod/go.unistack.org/micro-logger-zerolog/v3@v3.8.4/zerolog.go:39 +0x35b
go.unistack.org/micro-logger-zerolog/v3.(*zeroLogger).Fields()
/root/go/pkg/mod/go.unistack.org/micro-logger-zerolog/v3@v3.8.4/zerolog.go:149 +0xa4
gitlab.fortebank.com/api-gateway/apigw/internal/handler.(*HTTPHandlerSwapper).Subscriber()
/build/internal/handler/handler.go:236 +0x569
gitlab.fortebank.com/api-gateway/apigw/internal/handler.(*HTTPHandlerSwapper).Subscriber-fm()
<autogenerated>:1 +0x4d
go.unistack.org/micro-broker-kgo/v3.(*consumer).consume()
/root/go/pkg/mod/go.unistack.org/micro-broker-kgo/v3@v3.8.7/subscriber.go:210 +0xff6
go.unistack.org/micro-broker-kgo/v3.(*subscriber).assigned.func1()
/root/go/pkg/mod/go.unistack.org/micro-broker-kgo/v3@v3.8.7/subscriber.go:150 +0x39
Previous read at 0x000003375a30 by goroutine 301342:
github.com/rs/zerolog.callerHook.Run()
/root/go/pkg/mod/github.com/rs/zerolog@v1.31.0/context.go:399 +0x44
github.com/rs/zerolog.(*callerHook).Run()
<autogenerated>:1 +0x7a
github.com/rs/zerolog.(*Event).msg()
/root/go/pkg/mod/github.com/rs/zerolog@v1.31.0/event.go:143 +0x113
github.com/rs/zerolog.(*Event).Msgf()
/root/go/pkg/mod/github.com/rs/zerolog@v1.31.0/event.go:131 +0x7c
go.unistack.org/micro-logger-zerolog/v3.(*zeroLogger).Logf()
/root/go/pkg/mod/go.unistack.org/micro-logger-zerolog/v3@v3.8.4/zerolog.go:222 +0x191
go.unistack.org/micro-logger-zerolog/v3.(*zeroLogger).Debugf()
/root/go/pkg/mod/go.unistack.org/micro-logger-zerolog/v3@v3.8.4/zerolog.go:195 +0x93
gitlab.fortebank.com/api-gateway/apigw/internal/handler.forwardClientToBackend.func2()
/build/internal/handler/grpc.go:444 +0x322
```
vtolstov
closed this issue 2024-03-13 17:14:23 +03:00
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?