SLONIK_RESUBSCRIBE_NODE(7)

πŸ“¦
version 2.2.11 Β· 4 versions
, in debian trixie, ubuntu questing

πŸ’– SLONIK_RESUBSCRIBE_NODE πŸ’–

okay bestie, this is the SLONIK_RESUBSCRIBE_NODE(7) page from the Slony-I 2.2.11 Documentation and it's literally about switching up who's feeding you your data. sit down, grab a strawberry drink πŸ“, we're doing this.


✨ NAME ✨

RESUBSCRIBE NODE β€” changing the provider of a replication set. that's it, that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

RESUBSCRIBE NODE (options);

✨ DESCRIPTION ✨

so here's the tea πŸ«– β€” RESUBSCRIBE NODE swaps out the provider that a node uses to receive data for all the replication sets that originate on a given node.

think about it like this: if a subscriber node is getting a bunch of replication sets, and all of those sets have one particular node as their origin, then RESUBSCRIBE NODE will change which provider node that subscriber uses for every single one of the replication sets originating on that given origin. one command, all the sets, done. ✨

the options are:

  • ORIGIN = ival β€” the ID of the set origin for all the subscriptions you want to change πŸ‘‘
  • RECEIVER = ival β€” the Node ID of the subscriber, aka who's receiving πŸ“₯
  • PROVIDER = ival β€” the Node ID of the provider, aka the new plug πŸ”Œ

✨ EXAMPLE ✨

here's what it looks like in the wild, no cap:

RESUBSCRIBE NODE  (
   ORIGIN = 1,
   PROVIDER = 2,
   RECEIVER = 3
);

✨ LOCKING BEHAVIOUR ✨

None

literally none. no locks. free and unbothered. πŸ’…


✨ SLONIK EVENT CONFIRMATION BEHAVIOUR ✨

bestie, Slonik is patient β€” it waits for the command it submitted to the previous event node to be confirmed on the specified event node before it goes ahead and submits this command. so it's not out here rushing, it's out here being responsible. 🧚


✨ VERSION INFORMATION ✨

this icon was introduced in Slony-I 2.2. so if you're on something older… yeah, it's giving not available, sorry babe 😭


and that's the page, periodt. this was the SLONIK_RESUBSCRIBE_NODE(7) manual page, dated 19 September 2024, from Slony-I 2.2.11 β€” love her, she ate, go resubscribe responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from