Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More RabbitMQ POSIX error codes #833

Merged
merged 1 commit into from Jul 5, 2016

Conversation

lemenkov
Copy link
Contributor

@lemenkov lemenkov commented Jul 4, 2016

We must add the following POSIX error codes in order to detect node
failure:

  • 68 - EX_NOHOST
  • 69 - EX_UNAVAILABLE
  • 70 - EX_SOFTWARE
  • 75 - EX_TEMPFAIL
  • 78 - EX_CONFIG

The following commits introduced these return values:

For the error codes meanings go to:

Note that the following error valies do not mean that the node is
stopped and therefore doesn't covered by this commit:

  • 64 - EX_USAGE
  • 65 - EX_DATAERR
  • 67 - EX_NOUSER

Signed-off-by: Peter Lemenkov lemenkov@redhat.com

We must add the following POSIX error codes in order to detect node
failure:

* 68 - EX_NOHOST
* 69 - EX_UNAVAILABLE
* 70 - EX_SOFTWARE
* 75 - EX_TEMPFAIL
* 78 - EX_CONFIG

The following commits introduced these return values:

* rabbitmq/rabbitmq-server@7984540
* rabbitmq/rabbitmq-common@92ae50e

For the error codes meanings go to:

* http://www.sbras.ru/cgi-bin/www/unix_help/unix-man?sysexits+3
* http://linux.die.net/include/sysexits.h
* https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=misc/sysexits.h;hb=HEAD

Note that the following error valies do not mean that the node is
stopped and therefore doesn't covered by this commit:

* 64 - EX_USAGE
* 65 - EX_DATAERR
* 67 - EX_NOUSER

Signed-off-by: Peter Lemenkov <lemenkov@redhat.com>
@oalbrigt
Copy link
Contributor

oalbrigt commented Jul 5, 2016

Looks good. Thanks.

@oalbrigt oalbrigt merged commit 26a1111 into ClusterLabs:master Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants