mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-08 04:14:29 +08:00
refactor
This commit is contained in:
@@ -52,7 +52,7 @@ func NewLocalPartition(partition Partition, logFlushFn log_buffer.LogFlushFuncTy
|
||||
}
|
||||
|
||||
func (p *LocalPartition) Publish(message *mq_pb.DataMessage) error {
|
||||
p.LogBuffer.AddToBuffer(message.Key, message.Value, time.Now().UnixNano())
|
||||
p.LogBuffer.AddToBuffer(message)
|
||||
|
||||
// maybe send to the follower
|
||||
if p.followerStream != nil {
|
||||
|
Reference in New Issue
Block a user