SLONIK_SYNC(7)
β¨ SYNC β¨
okay bestie, so this is a page from the Slony-I docs β specifically the SLONIK SYNC(7) page β and it's genuinely short and sweet, so let's get into it π
πΈ NAME πΈ
SYNC β generate an ordinary SYNC event. that's it, that's the whole job π«Ά
π SYNOPSIS π
SYNC (options);
π DESCRIPTION π
It generates a SYNC event on a specified node. simple as that, no cap β¨
π OPTIONS π
ID = ivalβ the node on which to generate theSYNCevent. that's the one and only thing you're picking here, bestie π
π¦ EXAMPLE π¦
here's what it looks like in the wild, literally copy-paste energy:
SYNC (ID = 1);
WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = 2, WAIT ON=1);
so you fire the SYNC off on node 1, and then you go wait on the event β ORIGIN = 1, CONFIRMED = 2, WAIT ON=1. iconic little duo fr fr π₯
π LOCKING BEHAVIOUR π
No application-visible locking should take place. so likeβ¦ nothing your app can see gets locked up. go off, no blocking drama πβ¨
β SLONIK EVENT CONFIRMATION BEHAVIOUR β
Slonik does not wait for event confirmations before performing this command. so it just does the thing and moves on, main character energy, no waiting around for the group chat to reply ππ
lowkey important: if you need to actually know the event landed, that's what the WAIT FOR EVENT line in the example is for. Slonik itself is not gonna hold your hand here.
π VERSION INFORMATION π
This command was introduced in Slony-I 1.1.6 / 1.2.1 β so it's been around a minute, a true veteran π
and that's the whole page!! this was documented in the Slony-I 2.2.11 Documentation, dated 19 September 2024 β mwah, slay, bye bestie ππ§πΈ
π¦ where this page comes from
- debian trixie: slony1-2-doc 2.2.11-6
- ubuntu questing: slony1-2-doc 2.2.11-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms