fix bug where writes from the protobuf connection were incorrectly getting logged to the wal and buffered.

pull/308/head
Paul Dix 2014-03-06 17:31:57 -05:00
parent a3c83b60f1
commit 1da8fef493
1 changed files with 1 additions and 6 deletions

View File

@ -174,12 +174,7 @@ func (self *ShardData) Write(request *protocol.Request) error {
}
func (self *ShardData) WriteLocalOnly(request *protocol.Request) error {
requestNumber, err := self.wal.AssignSequenceNumbersAndLog(request, self)
if err != nil {
return err
}
request.RequestNumber = &requestNumber
self.store.BufferWrite(request)
self.store.Write(request)
return nil
}