Implement a gctest utility that can be used to check efficiently for properly
configured group communications
-------------------------------------------------------------------------------------------------------------
Key: HEDERA-42
URL: https://forge.continuent.org/jira/browse/HEDERA-42
Project: Hedera
Type: New Feature
Versions: Hedera 2.0
Environment: All
Reporter: Robert Hodges
Assigned to: Robert Hodges
We need a simple utility to check group communication configuration and ensure
liveness. Since a lot of other packages used hedera, I would like to suggest
implementation of a simple utility called gctest that checks the following:
1.) It is possible to set up a group of 1 or more members.
2.) The group can exchange messages.
Here's a suggested behavior. The utility would like like the following:
gctest -props /hedera.properties -channel test -members 1 -messages 3 -timeout
120
It would work like this. Gctest would connect to a channel named 'test' and
expect to find 1 member. Once it sees 1 member (in this case joining would
result in having a member), gctest would send 3 messages and expect to receive
3 messages from the 'next' member in the group. In the 1-member case it would
be the member itself. Once this is done, gctest exits. It terminates and
bails out with an error after 120 seconds.
The values I used are defaults, so if you type 'gctest' it would be the same as
explicitly specifying the values. You can test with 2, 3, 4, etc. members by
starting gctest the corresponding number of times.
Finally, gctest would have nice logging and tell you exactly what it is doing
so that you can figure out what is wrong with GC without debugging the program.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera