remove BaseService.OnStart

This commit is contained in:
Ethan Buchman
2017-03-28 12:09:11 -04:00
parent 85e83934a1
commit 4fd1471f11
7 changed files with 0 additions and 9 deletions
-2
View File
@@ -127,8 +127,6 @@ func (pb *playback) replayReset(count int, newStepCh chan interface{}) error {
}
func (cs *ConsensusState) startForReplay() {
// don't want to start full cs
cs.BaseService.OnStart()
log.Warn("Replay commands are disabled until someone updates them and writes tests")
/* TODO:!
-1
View File
@@ -340,7 +340,6 @@ func (cs *ConsensusState) LoadCommit(height int) *types.Commit {
}
func (cs *ConsensusState) OnStart() error {
cs.BaseService.OnStart()
walFile := cs.config.GetString("cs_wal_file")
if err := cs.OpenWAL(walFile); err != nil {
-1
View File
@@ -45,7 +45,6 @@ func NewTimeoutTicker() TimeoutTicker {
}
func (t *timeoutTicker) OnStart() error {
t.BaseService.OnStart()
go t.timeoutRoutine()
-1
View File
@@ -55,7 +55,6 @@ func NewWAL(walFile string, light bool) (*WAL, error) {
}
func (wal *WAL) OnStart() error {
wal.BaseService.OnStart()
size, err := wal.group.Head.Size()
if err != nil {
return err