You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @matthiashanel for confirming. As a workaround, we are creating a new R1 consumer with start sequence and copying its config from the existing R3. Here's the example code. To make sure that this R1 resumes from where the old R3 left, we are setting the start sequence of R1 to consumerInfo.Delivered.Stream+1 (of R3). I tested this for a few cases and it seems to be working fine. Would there be any case that this might fail?
nats-server
: v2.8.4nats.go
: v1.16.0NATS cli
: v0.0.33Step to reproduce:
nats.go
client with a replica count 3.nats.go
clientExpected results
nats con info
should not show any replicas field for a R1 consumerActual results
nats con info
does show replica count as 1 (which is correct)ls -l
)nats con info
shows replicas fieldThe text was updated successfully, but these errors were encountered: