summaryrefslogtreecommitdiff
path: root/same/src/main/java/com/orbekk/same/Client.java
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-22Lower retry timout for Master takeover.Kjetil Ørbekk
2012-05-08Master takeover protocol.Kjetil Ørbekk
Implement the takeover protocol that guarantees correct after master takeover.
2012-05-08Block operations on unstable connection.Kjetil Ørbekk
2012-05-08Get rid of queues in Master.Kjetil Ørbekk
– Remove WorkQueue code. – Remove delayed operations in master. (Handled by RPC instead)
2012-05-07Update service definitions.Kjetil Ørbekk
– Update Client and Master services with new message types.
2012-05-07Remove some network metadata from State.Kjetil Ørbekk
Remove .masterUrl, .masterLocation and networkName.
2012-05-07Client keeps revision field.Kjetil Ørbekk
2012-05-07State-wide revision field maintained by master.Kjetil Ørbekk
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 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-24Switch to protobuf based Paxos in functional test.Kjetil Ørbekk
2012-04-24Fix compiler error in Client.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-11Add "masterLocation" variable.Kjetil Ørbekk
This is the protobuffer service location for the master.
2012-04-10Always run done() in protobuf services.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-27Bugfixes on same-android.Kjetil Ørbekk
2012-03-20Remove discovery code.Kjetil Ørbekk
Use centralized discovery instead.
2012-03-20Various fixes related to takeover.Kjetil Ørbekk
2012-03-20Fix issues when transfering to new master.Kjetil Ørbekk
.masterUrl needs to be set explicitly. Some other fixes.
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-13Clients can control their master.Kjetil Ørbekk
Add failing test.
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-03-12Add TODO.Kjetil Ørbekk
2012-03-12Add ConnectionState to Client.Kjetil Ørbekk
2012-03-06Remove old Client code.Kjetil Ørbekk
2012-03-02Move all Android cleasses to com.orbekk.same.android package.Kjetil Ørbekk
2012-03-02Move discovery code to a separate package.Kjetil Ørbekk
2012-02-28Run SameService in a separate process.Kjetil Ørbekk
2012-02-27Use DelayedOperation in ClientInterface.Kjetil Ørbekk
2012-02-27Clean up source code.Kjetil Ørbekk
Clean up source code with Eclipse. In particular remove tabs.