mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Removed stream state for advisories
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1273,7 +1273,6 @@ func (js *jetStream) processStreamLeaderChange(mset *Stream, sa *streamAssignmen
|
||||
Time: time.Now().UTC(),
|
||||
},
|
||||
Stream: stream,
|
||||
State: mset.State(),
|
||||
Leader: s.serverNameForNode(node.GroupLeader()),
|
||||
Replicas: s.replicas(node),
|
||||
})
|
||||
@@ -1290,7 +1289,6 @@ func (js *jetStream) processStreamLeaderChange(mset *Stream, sa *streamAssignmen
|
||||
Time: time.Now().UTC(),
|
||||
},
|
||||
Stream: stream,
|
||||
State: mset.State(),
|
||||
Replicas: s.replicas(node),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -155,7 +155,6 @@ const JSStreamLeaderElectedAdvisoryType = "io.nats.jetstream.advisory.v1.stream_
|
||||
type JSStreamLeaderElectedAdvisory struct {
|
||||
TypedEvent
|
||||
Stream string `json:"stream"`
|
||||
State StreamState `json:"state"`
|
||||
Leader string `json:"leader"`
|
||||
Replicas []*PeerInfo `json:"replicas"`
|
||||
}
|
||||
@@ -168,7 +167,6 @@ const JSStreamQuorumLostAdvisoryType = "io.nats.jetstream.advisory.v1.stream_quo
|
||||
type JSStreamQuorumLostAdvisory struct {
|
||||
TypedEvent
|
||||
Stream string `json:"stream"`
|
||||
State StreamState `json:"state"`
|
||||
Replicas []*PeerInfo `json:"replicas"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user