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

Merge rc into feat multisigner 12.09.2022 #4458

Merged
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
ba74e61
open dbs until there are a minimum of 2 dbs marked as active
BeniaminDrasovean Aug 8, 2022
3002bf2
close old dbs that are not needed for trie snapshot
BeniaminDrasovean Aug 9, 2022
f215594
added constraint on go-version not to use 1.19 yet as quic-go is not …
sstanculeanu Aug 9, 2022
4cb3756
fix starting from sync and destroy without closing
BeniaminDrasovean Aug 11, 2022
9a1ee6d
Merge remote-tracking branch 'origin/rc/2022-july' into open-more-dbs…
BeniaminDrasovean Aug 11, 2022
b098639
Merge branch 'rc/2022-july' into open-more-dbs-if-necessary
BeniaminDrasovean Aug 11, 2022
75f347e
Merge branch 'rc/2022-july' into open-more-dbs-if-necessary
BeniaminDrasovean Aug 12, 2022
2b5164a
remove duplicated code and extract a new component
BeniaminDrasovean Aug 17, 2022
a4633f5
unexport persistersTracker constructor and methods
BeniaminDrasovean Aug 22, 2022
c66d445
Merge branch 'rc/2022-july' into open-more-dbs-if-necessary
BeniaminDrasovean Aug 22, 2022
6621e65
fix after review
BeniaminDrasovean Aug 22, 2022
c30baae
Merge branch 'rc/2022-july' into open-more-dbs-if-necessary
BeniaminDrasovean Aug 23, 2022
d0b9b98
Merge branch 'rc/2022-july' into open-more-dbs-if-necessary
BeniaminDrasovean Aug 25, 2022
fccc51f
fix case in which on bootstrap the triePruningStorer opens dbs until …
BeniaminDrasovean Aug 25, 2022
09bac7a
fix after review
BeniaminDrasovean Aug 26, 2022
949f96b
- fixed removal condition in heartbeat v2 monitor struct
iulianpascalau Sep 2, 2022
ea9df2b
- adjusted configs
iulianpascalau Sep 2, 2022
1aafa8e
update metrics from heartbeat v2 monitor
sstanculeanu Sep 2, 2022
bfec02a
actually pass AppStatusHandler to monitor
sstanculeanu Sep 2, 2022
23d8ef1
fix data race
sstanculeanu Sep 2, 2022
f652567
Merge branch 'rc/2022-july' into fix_hbv2_metrics_update
sstanculeanu Sep 2, 2022
fa3851a
- fixed heartbeat message timestamp
iulianpascalau Sep 2, 2022
108686d
fix after review - added go routine which periodically updates the co…
sstanculeanu Sep 2, 2022
17de6df
fixed mock deadlock + cover Close in tests
sstanculeanu Sep 2, 2022
bb12a7b
added missing metrics update on hbv2 sender + simplified test
sstanculeanu Sep 2, 2022
821ff0a
Merge pull request #4437 from ElrondNetwork/fix_hbv2_metrics_update
iulianpascalau Sep 3, 2022
59b1290
- reverted config
iulianpascalau Sep 3, 2022
9104dbc
- removed the "request in chunks peer authentication messages" feature
iulianpascalau Sep 3, 2022
f4737cf
- termui interface changes to reflect the new data returned
iulianpascalau Sep 3, 2022
079d415
- stop the hb v1 monitor's go routine at the disabled epoch
iulianpascalau Sep 3, 2022
5c7b585
- added & integrated heartbeat metrics updater
iulianpascalau Sep 3, 2022
916181a
- refactored the timerCacher implementation to notify "adding" handle…
iulianpascalau Sep 3, 2022
989a494
Temporarily (sandbox) pause processing while snapshotting is on.
andreibancioiu Sep 3, 2022
7a9f4af
Merge pull request #4436 from ElrondNetwork/fix-hb-v2-monitor
iulianpascalau Sep 3, 2022
2acf1fa
Merge branch 'feat/heartbeat-fixes' into further-hb-v2-fixes
iulianpascalau Sep 3, 2022
fd2280a
- fixed race condition in unit tests
iulianpascalau Sep 4, 2022
7202560
- fixed tests
iulianpascalau Sep 4, 2022
d518723
Merge remote-tracking branch 'origin/further-hb-v2-fixes' into furthe…
iulianpascalau Sep 4, 2022
ebd29c0
- more tests fixes
iulianpascalau Sep 4, 2022
984d9bf
Bump github.com/urfave/cli from 1.22.9 to 1.22.10
dependabot[bot] Sep 5, 2022
d25ca74
Sketch new flag: --disable-consensus-watchdog.
andreibancioiu Sep 5, 2022
a5c9280
Add new flag: --serialize-snapshots.
andreibancioiu Sep 5, 2022
96320c3
Fix tests.
andreibancioiu Sep 5, 2022
2e3240b
Merge pull request #4440 from ElrondNetwork/sandbox-snapshotting
gabi-vuls Sep 7, 2022
57326eb
Merge remote-tracking branch 'origin/development' into open-more-dbs-…
BeniaminDrasovean Sep 7, 2022
d4b5983
fix after merge
BeniaminDrasovean Sep 7, 2022
d1d7d2f
Merge branch 'rc/v1.4.0' into dependabot/go_modules/development/githu…
iulianpascalau Sep 7, 2022
675c3e3
Merge branch 'rc/v1.4.0' into open-more-dbs-if-necessary
BeniaminDrasovean Sep 7, 2022
2e2cb37
- fixes after review
iulianpascalau Sep 7, 2022
b6df88b
Merge pull request #4439 from ElrondNetwork/further-hb-v2-fixes
iulianpascalau Sep 7, 2022
fd58f9b
Merge branch 'rc/2022-july' into update-hb-fixes-2022.09.07
iulianpascalau Sep 7, 2022
36ce3f7
Merge pull request #4444 from ElrondNetwork/update-hb-fixes-2022.09.07
iulianpascalau Sep 7, 2022
662828d
Merge pull request #4441 from ElrondNetwork/feat/heartbeat-fixes
gabi-vuls Sep 9, 2022
9db5645
Merge branch 'rc/2022-july' into update-rc-v1.4.0-2022.09.09
iulianpascalau Sep 9, 2022
2ae01ab
Merge pull request #4366 from ElrondNetwork/open-more-dbs-if-necessary
BeniaminDrasovean Sep 9, 2022
1ec174d
Merge branch 'rc/v1.4.0' into update-rc-v1.4.0-2022.09.09
iulianpascalau Sep 9, 2022
57c84e2
Merge branch 'rc/v1.4.0' into dependabot/go_modules/development/githu…
iulianpascalau Sep 9, 2022
7c60ea6
- integration fixes and changes in heartbeat v2 components
iulianpascalau Sep 9, 2022
f6f82ab
- race fixes
iulianpascalau Sep 9, 2022
b88b98e
- fixed test
iulianpascalau Sep 9, 2022
f92e704
added missing epoch on requestData while requesting peer authenticati…
sstanculeanu Sep 9, 2022
4226112
Merge pull request #4442 from ElrondNetwork/dependabot/go_modules/dev…
gabi-vuls Sep 9, 2022
78ae97a
Merge branch 'rc/v1.4.0' into update-rc-v1.4.0-2022.09.09
gabi-vuls Sep 9, 2022
b68f53d
Merge pull request #4447 from ElrondNetwork/update-rc-v1.4.0-2022.09.09
iulianpascalau Sep 9, 2022
131e878
Merge pull request #4450 from ElrondNetwork/fix_missing_epoch_on_peer…
gabi-vuls Sep 10, 2022
0fac6b4
Merge remote-tracking branch 'origin/rc/2022-july' into rc/v1.4.0
sstanculeanu Sep 11, 2022
ff936b2
Merge pull request #4451 from ElrondNetwork/merge_rc_july_into_rc_1.4…
gabi-vuls Sep 12, 2022
43dadc2
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Sep 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed mock deadlock + cover Close in tests
  • Loading branch information
sstanculeanu committed Sep 2, 2022
commit 17de6dfd26b97bbb95d4bef1700b89f8e6728828
2 changes: 2 additions & 0 deletions heartbeat/monitor/monitor_test.go
Original file line number Diff line number Diff line change
@@ -206,6 +206,8 @@ func TestNewHeartbeatV2Monitor(t *testing.T) {
message2 := createHeartbeatMessage(true)
args.Cache.Put(pid2, message2, message2.Size())
time.Sleep(time.Second) // allow goroutines to execute

assert.Nil(t, monitor.Close())
})
}

3 changes: 3 additions & 0 deletions testscommon/cacherMock.go
Original file line number Diff line number Diff line change
@@ -102,6 +102,9 @@ func (cacher *CacherMock) Remove(key []byte) {

// Keys -
func (cacher *CacherMock) Keys() [][]byte {
cacher.mut.RLock()
defer cacher.mut.RUnlock()

keys := make([][]byte, len(cacher.dataMap))
idx := 0
for k := range cacher.dataMap {