When a primary with replication slots gets reset with pg_rewind,
it keeps the replication slots.
This does no harm per se, but when it gets promoted again,
the replication slots are still there and are in the way.
Won't they also hold back the xmin horizon?
I think that pg_rewind should delete all replication slots.
Yours,
Laurenz Albe