mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
flush wal group on stop
Refs #1659 Refs https://github.com/tendermint/tmlibs/pull/217
This commit is contained in:
parent
0562009275
commit
1f22f34edf
6
Gopkg.lock
generated
6
Gopkg.lock
generated
@ -281,10 +281,10 @@
|
|||||||
"flowrate",
|
"flowrate",
|
||||||
"log",
|
"log",
|
||||||
"merkle",
|
"merkle",
|
||||||
|
"merkle/tmhash",
|
||||||
"test"
|
"test"
|
||||||
]
|
]
|
||||||
revision = "cc5f287c4798ffe88c04d02df219ecb6932080fd"
|
revision = "0803cd354816952a8d8bcba88c592b3eb54ac427"
|
||||||
version = "v0.8.3-rc0"
|
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
@ -382,6 +382,6 @@
|
|||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "d85c98dcac32cc1fe05d006aa75e8985f6447a150a041b972a673a65e7681da9"
|
inputs-digest = "aa8421ead26741e4ff7a59edb48dd7f12c8f29e3d6c0a893f95ea3fa3023a095"
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
[[override]]
|
[[override]]
|
||||||
name = "github.com/tendermint/tmlibs"
|
name = "github.com/tendermint/tmlibs"
|
||||||
version = "~0.8.3-rc0"
|
revision = "0803cd354816952a8d8bcba88c592b3eb54ac427"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "google.golang.org/grpc"
|
name = "google.golang.org/grpc"
|
||||||
|
@ -106,8 +106,8 @@ func (wal *baseWAL) OnStart() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (wal *baseWAL) OnStop() {
|
func (wal *baseWAL) OnStop() {
|
||||||
wal.BaseService.OnStop()
|
|
||||||
wal.group.Stop()
|
wal.group.Stop()
|
||||||
|
wal.group.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write is called in newStep and for each receive on the
|
// Write is called in newStep and for each receive on the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user