purge old code

This commit is contained in:
chrislu
2024-03-31 17:49:34 -07:00
parent 237e68059d
commit 47975e75bf

View File

@@ -27,7 +27,6 @@ type LocalPartition struct {
LogBuffer *log_buffer.LogBuffer
Publishers *LocalPartitionPublishers
Subscribers *LocalPartitionSubscribers
FollowerId int32
followerStream mq_pb.SeaweedMessaging_PublishFollowMeClient
followerGrpcConnection *grpc.ClientConn
@@ -218,6 +217,5 @@ func (p *LocalPartition) Shutdown() {
p.closePublishers()
p.closeSubscribers()
p.LogBuffer.ShutdownLogBuffer()
atomic.StoreInt32(&p.FollowerId, 0)
glog.V(0).Infof("local partition %v shutting down", p.Partition)
}