Bug 245829 - [NEW PORT] databases/httpwsrep: HTTP status codes for galera cluster
Summary: [NEW PORT] databases/httpwsrep: HTTP status codes for galera cluster
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://crates.io/crates/httpwsrep
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 16:32 UTC by nbari
Modified: 2023-12-14 21:00 UTC (History)
4 users (show)

See Also:
egypcio: maintainer-feedback-


Attachments
httpwsrep shar (40.30 KB, text/plain)
2020-04-22 16:32 UTC, nbari
no flags Details
update to latest version (44.10 KB, text/plain)
2020-07-16 22:48 UTC, nbari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbari 2020-04-22 16:32:28 UTC
Created attachment 213699 [details]
httpwsrep shar

This helps to check a galera cluster using HAProxy - option httpchk
which queries the galera node and gets its current state from:
SHOW STATUS LIKE 'wsrep_local_state';

If wsrep_local_state == 4 it will return 'HTTP 200 OK', otherwise
'HTTP 503 Service Unavailable'

https://youtu.be/yylV9WntnB4

WWW: https://crates.io/crates/httpwsrep
Comment 1 nbari 2020-07-16 22:48:41 UTC
Created attachment 216502 [details]
update to latest version
Comment 2 Vinícius Zavam freebsd_committer freebsd_triage 2021-01-25 15:16:33 UTC
I am not the maintainer of this one. sorry
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-08-09 14:36:51 UTC
Thanks for your submission.

Unfortunately this problem report did not attract attention from developers. 

Please, feel free to reopen should you think this port should be in our ports tree.

Closing.
Comment 4 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-08-10 04:42:56 UTC
Please do not close valid PRs.