SLONIK_DROP_PATH(7)

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

✨ SLONIK DROP PATH ✨

okay bestie, welcome to the SLONIK DROP PATH manual page πŸ’… this is a Slonik command, and if you don't know what Slonik is yet... girl, we'll get there. sit down, hydrate, let's go 🫢


🌸 NAME 🌸

DROP PATH</p紫色> β€” deleting Slony-I connection info, no cap πŸ—‘οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

DROP PATH (options);

that's it. that's the whole vibe. one statement, a lil paren situation, and you're done 😌


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? this removes the connection information that lives between server and client. like, un-adding them from each other's contacts. the path is gone. periodt πŸ’€

here are the options you can pass, and bestie, you actually do need to know these:

  • SERVER = ival β€” the Node ID of the database you want to connect to. that's the "who am I reaching out to" number πŸ”’
  • CLIENT = ival β€” the Node ID of the replication daemon doing the connecting. that's the "who's sliding into the DMs" number πŸ“¨
  • EVENT NODE = ival β€” the ID of the node that creates the configuration event, aka the one that tells every existing node that this path is getting dropped πŸ—£οΈ if you just... don't include it? it defaults to the client. lowkey convenient, ngl πŸ‘‘

⭐ EXAMPLE ⭐

look, a whole example, we love to see it:

DROP PATH ( SERVER = 1, CLIENT = 2 );

server 1 and client 2 are no longer linked, it's giving exes blocking each other πŸš«πŸ’”


πŸ”’ LOCKING BEHAVIOUR πŸ”’

no application-visible locking should take place. so like, your apps won't even notice. main character energy: this command doesn't make a scene 😌✨


πŸ“£ SLONIK EVENT CONFIRMATION BEHAVIOUR πŸ“£

important, so listen up: Slonik does not wait for event confirmations before performing this command. it just does it. no waiting, no checking in, it's already gone πŸƒβ™€οΈπŸ’¨


🧚 VERSION INFORMATION 🧚

this command was introduced in Slony-I 1.0. so it's been around a minute, an icon, a legend πŸ‘‘


friendly reminder bestie: dropping a path is a real config change, and the event you're firing off tells all your existing nodes about it. make sure your SERVER and CLIENT values are the ones you actually mean πŸ’œ

and that's the whole page! this lil slice of wisdom comes from the Slony-I 2.2.11 Documentation, dated 19 September 2024 πŸ“…βœ¨ bye bestie, go drop some paths responsibly, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from