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

Aggressively test Oracle #37

Open
keith-turner opened this issue Jun 20, 2014 · 5 comments
Open

Aggressively test Oracle #37

keith-turner opened this issue Jun 20, 2014 · 5 comments
Labels

Comments

@keith-turner
Copy link
Contributor

The proper functioning of the Oracle is critical. Need an Oracle test suite that pauses and kills Oracle processes while allocating and verifying timestamps. Some of the situations the test suite should induce are :

  • Client connected to an oracle process thats no longer the leader
  • Client connected to an oracle process thats paused
  • Client connected to an oracle process thats dead
@cjnolet
Copy link
Member

cjnolet commented Jun 21, 2014

It would be useful to try and reproduce these too:

  • Oracle loses its connection to zookeeper for a brief period and reconnects (leader selector should requeue).
  • Client loses its connection to Zookeeper while leader changed
  • All oracles go down. (Client should immediately connect when the first oracle comes back up).

@cjnolet
Copy link
Member

cjnolet commented Jun 23, 2014

Pull request #40 should help a tad with some of these cases as the OracleClient will listen for events from Zookeeper for changes to the children of the ZNode being used to compete for leadership and pro-actively adjust its connection to the oracle server.

@cjnolet
Copy link
Member

cjnolet commented Jun 24, 2014

Client connected to an oracle process thats paused

What exactly do you mean by paused?

@keith-turner
Copy link
Contributor Author

A process thats temporarily unresponsive because its swapped out Java GC
has stopped all threads.

On Mon, Jun 23, 2014 at 10:56 PM, Corey J. Nolet notifications@github.com
wrote:

Client connected to an oracle process thats paused

What exactly do you mean by paused?


Reply to this email directly or view it on GitHub
#37 (comment)
.

@cjnolet
Copy link
Member

cjnolet commented Jun 24, 2014

Oh wow. Ok yeah that's an aggressive test suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants