VOTEQ...NALIZE(3)
β¨ VOTEQ...NALIZE(3) β¨
okay bestie, this is a page from the Corosync Cluster Engine Programmer's Manual, and it's literally just about saying bye to votequorum π
π NAME π
votequorum_finalize β terminate a connection to the votequorum service π¦
πΈ SYNOPSIS πΈ
#include <corosync/votequorum.h>
int votequorum_finalize(votequorum_handle_t handle);
like. that's the whole vibe. one header, one function, one handle. slay β¨
π DESCRIPTION π
so votequorum_finalize is the function you call to close a connection to the configuration database API. it's the goodbye girlie. the "we're done here" moment π«Ά
and listen, this part matters: once the connection is finalized, the handle may not be used again by applications. not once. not ever. it's giving ex-handle. periodt π
also, no more callbacks will be dispatched from the votequorum_dispatch function. she's retired. she's on a beach. don't call her π΅
π RETURN VALUE π
this call returns the CS_OK value if successful, otherwise an error is returned. no cap, that's it.
π ERRORS π
here's the whole roster of things that can go wrong, and bestie, there are nine of them:
CS_ERR_TRY_AGAINβ Resource temporarily unavailableCS_ERR_INVALID_PARAMβ Invalid argumentCS_ERR_ACCESSβ Permission deniedCS_ERR_LIBRARYβ The connection failedCS_ERR_INTERRUPTβ System call interrupted by a signalCS_ERR_NOT_SUPPORTEDβ The requested protocol/functionality not supportedCS_ERR_MESSAGE_ERRORβ Incorrect auth message receivedCS_ERR_NO_MEMORYβ Not enough memory to complete the requested task
π¨ lowkey important: if you get one of these, your finalize did NOT go off without a hitch. check the value fr fr.
π¦ SEE ALSO π¦
the whole friend group, go read them too:
votequorum_overview(3)votequorum_initialize(3)votequorum_getinfo(3)votequorum_trackstart(3)votequorum_trackstop(3)votequorum_fd_get(3)votequorum_dispatch(3)votequorum_context_set(3)votequorum_context_get(3)votequorum_setexpected(3)votequorum_setvotes(3)
okay that's the page!! π this came out of the corosync Man Page, dated 2026-09-04, and honestly? iconic. go finalize responsibly, bestie ππ§
π¦ where this page comes from
- fedora 43: corosynclib-devel 3.1.10-3.fc43 Β· BSD-3-Clause
- fedora 43: corosynclib-devel 3.1.10-3.fc43 Β· BSD-3-Clause
- fedora 44: corosynclib-devel 3.1.10-6.fc44 Β· BSD-3-Clause
- fedora 44: corosynclib-devel 3.1.10-6.fc44 Β· BSD-3-Clause
- Copyright (c) 2009,2012 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms