summaryrefslogtreecommitdiff
path: root/same/src/test/java/com
AgeCommit message (Collapse)Author
2012-06-07Change the timeout behavior of master proposers.Kjetil Ørbekk
Unfortunately this makes some tests fail that will not be fixed at this point.
2012-05-08Get rid of queues in Master.Kjetil Ørbekk
– Remove WorkQueue code. – Remove delayed operations in master. (Handled by RPC instead)
2012-05-07Remove some network metadata from State.Kjetil Ørbekk
Remove .masterUrl, .masterLocation and networkName.
2012-05-02Fix VariableUpdaterTask.Kjetil Ørbekk
Use CyclicCountDownLatch to improve VariableUpdaterTask. This implementation is much better, but unfortunately really hard to test. I'm not sure how to test this.
2012-05-02Add CyclicCountDownLatch.Kjetil Ørbekk
(You may not want to use this.)
2012-05-01Add license header to all source files.Kjetil Ørbekk
2012-04-25Make sure to report the *correct* failed master.Kjetil Ørbekk
2012-04-25Fix thread starvation bug in Client.Kjetil Ørbekk
2012-04-25Add debug messages in Paxos service.Kjetil Ørbekk
– Remove old PaxosService.
2012-04-25Set timeouts for all RPCs.Kjetil Ørbekk
Implemented with an RpcFactory.
2012-04-24Remove Broadcaster.Kjetil Ørbekk
– Broadcaster is not needed anymore with asynchronous RPC.
2012-04-24Remove unused code.Kjetil Ørbekk
– Remove old HTTP code. – Remove Jetty, Jsonrpc and servlet dependencies. – Remove state viewer servlet. – Remove unmaintained tests (rely on functional tests instead).
2012-04-24Remove unused code.Kjetil Ørbekk
2012-04-24Fix master takeover code.Kjetil Ørbekk
– Use the new services to send a MasterTakeover(). – Remove some old broadcast code. – Remove MasterProposerTest because this functionality is well enough covered by the functional test. – Remove HTTP services from PaxosServiceFunctionalTest. – Fix master takeover test.
2012-04-24Switch to protobuf based Paxos in functional test.Kjetil Ørbekk
2012-04-24Asynchronous paxos client using the protobuf interface.Kjetil Ørbekk
2012-04-17Master→Client communication uses protobuf services.Kjetil Ørbekk
– This change causes inconsistency in the .participants list and as a result some Paxos related tests run infinitely.
2012-04-17Master sends update requests using protobuf service.Kjetil Ørbekk
2012-04-17Client.startMasterElection() uses protobuf service.Kjetil Ørbekk
2012-04-17Client registers with protobuf service location.Kjetil Ørbekk
2012-04-11Client → Master communication now only protobuf-rpc.Kjetil Ørbekk
2012-04-11Use new RPC in Client.joinNetwork().Kjetil Ørbekk
2012-04-11Change Client.joinNetwork.Kjetil Ørbekk
Take MasterState instead of a simple URL.
2012-04-11Update tests.Kjetil Ørbekk
2012-04-10Add protobuf based Client service.protobuf-benchmarkKjetil Ørbekk
Use the new service internally in Client.
2012-03-27Fix state bug.0.3Kjetil Ørbekk
Make sure to copy the state when creating a new master. Using the same state instance on the master and client is a disaster.
2012-03-20Remove discovery code.Kjetil Ørbekk
Use centralized discovery instead.
2012-03-20Start master election when update fails.Kjetil Ørbekk
2012-03-20Make sure there is only one valid new master.Kjetil Ørbekk
This is done using the paxos proposal number as a certificate.
2012-03-20Master has to advertise its ID when taking over.Kjetil Ørbekk
2012-03-20Abort master proposal when master has been elected.Kjetil Ørbekk
Note: This doesn't really work. We need to do this based on serial number, otherwise the proposal may be canceled before it has begun, with the result that the proposal doesn't get canceled at all.
2012-03-20Client performs master election.Kjetil Ørbekk
2012-03-20Broadcast masterDown() event.Kjetil Ørbekk
2012-03-20Add Broadcaster in Client.Kjetil Ørbekk
2012-03-15Add tools for concurrent master proposal.Kjetil Ørbekk
2012-03-13Clients can become new masters.Kjetil Ørbekk
2012-03-13Clients can control their master.Kjetil Ørbekk
Add failing test.
2012-03-13Fix warnings in com.orbekk.same tests.Kjetil Ørbekk
2012-03-12Fix failing functional test.Kjetil Ørbekk
2012-03-12Add failing functional test.Kjetil Ørbekk
Test fails because of the new ConnectionState that is not properly implemented.
2012-03-12Client begins in disconnected state.Kjetil Ørbekk
2012-02-28Begin support for TJWS.Kjetil Ørbekk
Add TjwsServerContainer. Rename Jetty specific containers.
2012-02-28Add support for more than one listener to variables.Kjetil Ørbekk
2012-02-28Add VariableUpdaterTask.Kjetil Ørbekk
VariableUpdaterTask updates a variable countinously.
2012-02-27Remove argument to DelayedOperation.working-graphics-0.1Kjetil Ørbekk
2012-02-27Remove set(id, value, revision) from ClientInterface.Kjetil Ørbekk
Fix equals() bug in Component. Fix failing test.
2012-02-27Add DelayedOperation<T> class.Kjetil Ørbekk
A DelayedOperation represents an asynchronious operation.
2012-02-23Make it possible to create "fake" clients on Android.Kjetil Ørbekk
Extract interface from Client.ClientInterface in order to override it for Android, while still using the VariableFactory code as-is.
2012-02-23Implement listeners in Variables.Kjetil Ørbekk
2012-02-23Support several state listeners in Client.Kjetil Ørbekk