adds locking

This commit is contained in:
chrislu
2024-08-11 13:06:01 -07:00
parent b6fd1ff4ce
commit 270e91b0be
3 changed files with 15 additions and 7 deletions

View File

@@ -36,9 +36,6 @@ import (
// Each subscription may not get data. It can act as a backup.
func (b *MessageQueueBroker) PublishMessage(stream mq_pb.SeaweedMessaging_PublishMessageServer) error {
// 1. write to the volume server
// 2. find the topic metadata owning filer
// 3. write to the filer
req, err := stream.Recv()
if err != nil {