Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/log catchup #877

Merged
merged 5 commits into from
Mar 30, 2022
Merged

Feat/log catchup #877

merged 5 commits into from
Mar 30, 2022

Conversation

nikkolasg
Copy link
Collaborator

No description provided.

@willscott
Copy link
Member

confirming this is a forward-port of commits made to the release branch?

@nikkolasg
Copy link
Collaborator Author

nikkolasg commented Dec 14, 2021 via email

@nikkolasg
Copy link
Collaborator Author

Is this the same bug than usual that we should still fix or stg else ?
2021-11-30T21:34:42.2678281Z ==================
2021-11-30T21:34:42.2678686Z WARNING: DATA RACE
2021-11-30T21:34:42.2679217Z Write at 0x00c00039e580 by goroutine 10:
2021-11-30T21:34:42.2679979Z   github.com/drand/drand/test/mock.(*Server).PublicRandStream()
2021-11-30T21:34:42.2681277Z       /home/runner/work/drand/drand/test/mock/grpcserver.go:81 +0x84
2021-11-30T21:34:42.2682098Z   github.com/drand/drand/core.(*drandProxy).Watch.func1()
2021-11-30T21:34:42.2682938Z       /home/runner/work/drand/drand/core/drand_proxy.go:50 +0xba
2021-11-30T21:34:42.2683389Z 
2021-11-30T21:34:42.2683895Z Previous read at 0x00c00039e580 by goroutine 82:
2021-11-30T21:34:42.2684695Z   github.com/drand/drand/test/mock.(*Server).PublicRandStream()
2021-11-30T21:34:42.2685618Z       /home/runner/work/drand/drand/test/mock/grpcserver.go:85 +0x11e
2021-11-30T21:34:42.2686446Z   github.com/drand/drand/core.(*drandProxy).Watch.func1()
2021-11-30T21:34:42.2688138Z       /home/runner/work/drand/drand/core/drand_proxy.go:50 +0xba
2021-11-30T21:34:42.2689240Z 
2021-11-30T21:34:42.2689731Z Goroutine 10 (running) created at:
2021-11-30T21:34:42.2690404Z   github.com/drand/drand/core.(*drandProxy).Watch()
2021-11-30T21:34:42.2691203Z       /home/runner/work/drand/drand/core/drand_proxy.go:49 +0x19c
2021-11-30T21:34:42.2692035Z   github.com/drand/drand/http.(*handler).watchWithTimeout()
2021-11-30T21:34:42.2692892Z       /home/runner/work/drand/drand/http/server.go:116 +0xe1
2021-11-30T21:34:42.2693587Z   github.com/drand/drand/http.(*handler).Watch()
2021-11-30T21:34:42.2694550Z       /home/runner/work/drand/drand/http/server.go:109 +0x4c
2021-11-30T21:34:42.2695790Z   github.com/drand/drand/http.(*handler).start·dwrap·2()
2021-11-30T21:34:42.2696610Z       /home/runner/work/drand/drand/http/server.go:98 +0x64
2021-11-30T21:34:42.2697021Z 
2021-11-30T21:34:42.2697493Z Goroutine 82 (running) created at:
2021-11-30T21:34:42.2698165Z   github.com/drand/drand/core.(*drandProxy).Watch()
2021-11-30T21:34:42.2698954Z       /home/runner/work/drand/drand/core/drand_proxy.go:49 +0x19c
2021-11-30T21:34:42.2699749Z   github.com/drand/drand/http.(*handler).watchWithTimeout()
2021-11-30T21:34:42.2700595Z       /home/runner/work/drand/drand/http/server.go:116 +0xe1
2021-11-30T21:34:42.2701299Z   github.com/drand/drand/http.(*handler).Watch()
2021-11-30T21:34:42.2702082Z       /home/runner/work/drand/drand/http/server.go:109 +0x4c
2021-11-30T21:34:42.2703064Z   github.com/drand/drand/http.(*handler).start·dwrap·2()
2021-11-30T21:34:42.2703875Z       /home/runner/work/drand/drand/http/server.go:98 +0x64
2021-11-30T21:34:42.2704439Z ==================
2021-11-30T21:34:42.2705022Z     testing.go:1152: race detected during execution of test
2021-11-30T21:34:42.2706422Z --- FAIL: TestHTTPWatch (2.04s)

@willscott
Copy link
Member

I believe that's fixed by a subsequent commit on the release branch

chain/beacon/node.go Outdated Show resolved Hide resolved
@AnomalRoil
Copy link
Member

Do you still want to include this @nikkolasg?
I expect that a rebase against master would solve the coverage test issue.

chain/beacon/chain.go Outdated Show resolved Hide resolved
chain/beacon/node.go Outdated Show resolved Hide resolved
chain/beacon/node.go Outdated Show resolved Hide resolved
@AnomalRoil AnomalRoil force-pushed the feat/log-catchup branch 2 times, most recently from ff5e39e to b0c6c91 Compare March 30, 2022 12:13
@nikkolasg nikkolasg merged commit fdd6145 into master Mar 30, 2022
@nikkolasg nikkolasg deleted the feat/log-catchup branch March 30, 2022 13:44
@yiannisbot yiannisbot added the testing Area: Testing label Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Area: Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants