Commit graph

198 commits

Author SHA1 Message Date
Gilad Hoch
edee4ba409 +str #22711 adding GroupedWeightedWithin 2017-04-28 15:07:06 +02:00
Cedric CORBIERE
33ce3f0b77 Add startPosition option for FileIO API
* New startPosition parameter to FileIO.toPath
* New startPosition parameter to FileIO.fromPath
* default startPosition value : 0
* fix binary compatibilities
* Add the MiMa filters for the internal classes
* Feedback from comments of the PR
2017-04-21 15:00:39 +02:00
Patrik Nordwall
ef3b0f7444 Merge pull request #22586 from akka/wip-22295-circuit-breaker-improvement2-patriknw
22295 Allow user define what is failure in terms on circuit breaker
2017-03-17 10:28:19 +01:00
Patrik Nordwall
ef62a88072 mima filters and note in migration guide 2017-03-16 20:49:01 +01:00
Qingwei
c879c03679 22295 Allow user define what is failure in terms on circuit breaker
Revert all unnecessary style changes

Add api for java

Make exceptionsAsFailure function private

Exclude changed method api for binary compatibility check

- The changes expand the api by overload, thus is backward compatible
2017-03-16 20:31:38 +01:00
Johan Andrén
3643f18ded Protobuf serializers for remote deployment #22332 2017-03-16 15:12:35 +01:00
Björn Antonsson
2573a02f10 Consolidate various message buffer implementations 2017-03-16 10:00:29 +01:00
Konrad `ktoso` Malawski
f7b7c3642d =pro silence MiMa warning in testkit 2017-03-10 14:21:37 +01:00
Johannes Rudolph
bcdf14ce61
=str add mima exclusions for all new materializer changes 2017-03-09 17:48:56 +01:00
Michał Płachta
a9efcf7098 fishForSpecificMessage #20118 2017-02-28 19:51:39 +01:00
Patrik Nordwall
ae331a7c6f Merge pull request #22351 from jrudolph/jr/w/revert-22320
Revert #22320 for now but still provide simpler overload
2017-02-24 10:41:08 +01:00
ortigali
b93d7341e3 Remove backwards compatible workaround in SnapshotSerializer? (#22231)
* Remove backwards compatible workaround in SnapshotSerializer? #16197

* add mima missing entries #16197

* add test that verifies read/write snapshot compatibility with 2.4 akka version #16197
2017-02-24 10:34:20 +01:00
Johannes Rudolph
e4491a05cf Revert "=str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)"
Let's revert this until we have decided in #22345 what to do exactly
about it. We will still introduce an overload of TLS.apply that works
without specifying a `verifySession` function.

This reverts commit 021829e21e.

Conflicts:
	project/MiMa.scala
2017-02-23 14:01:10 +01:00
Patrik Nordwall
b700b840d1 causal delivery of deltas, #22188
* keep track of delta interval versions and skip deltas
  that are not consequtive, i.e. when some delta message was lost
* send the delta versions in the full state gossip to sync up the
  expected versions after dropped deltas
* implementation of deltas for ORSet
* refactoring of the delta types to allow for different type for the
  delta and the full state
* extensive tests
* mima filter
* performance optimizations
* simple pruning of deltas
* Java API
* update documentation
* KeyId type alias
* Use InternalApi annotation
2017-02-22 14:27:36 +01:00
Johan Andrén
734c31fa4f Fix DaemonMsgCreateSerializer #22225 2017-02-21 16:08:16 +01:00
Johan Andrén
8b5018ba21 Fix AbstractPersistentActor ambiguity with Scala 2.12 #22218 2017-02-20 14:50:25 +01:00
Johan Andrén
cf6d5a4e8a Deprecation of ExtensionKey #22208 2017-02-17 17:07:15 +01:00
Johannes Rudolph
2d9de06edd =pro add missing mima filters for #21854/#22320 when checking against 2.4.17 2017-02-16 16:45:52 +01:00
Johannes Rudolph
e7b095af89 =pro #22306 add missing mima filter rules for 2.4.16/17 changes 2017-02-16 16:45:52 +01:00
Johannes Rudolph
888d10cb86 =pro move some MiMa filters to the release-2.4 list 2017-02-16 16:45:52 +01:00
Johannes Rudolph
ea9f3d775f =pro #22306 add missing mima entries for 2.4.16 / 2.4.17, filter 2.4.15
(cherry picked from commit 17fce0fdaaa1c807201e44d1d8ce18780aefe08d)

Conflicts:
	project/MiMa.scala
2017-02-16 16:45:52 +01:00
Johannes Rudolph
0672cf3ab4 =pro organize filters a bit differently to prevent merge conflicts with release-2.4 2017-02-16 16:45:52 +01:00
Patrik Nordwall
96652d38b4 Merge pull request #22269 from gosubpl/wip/22187-delta-crdt-gset
GSet ported to delta-CRDT (#22187)
2017-02-16 15:45:28 +01:00
gosubpl
d470321051 GSet ported to delta-CRDT (#22187) 2017-02-16 13:06:57 +01:00
ortigali
021829e21e =str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)
* Remove manual hostname verifier support, used to be included only because Java 6 #21854

* Remove manual hostname verifier support, used to be included only because Java 6 #21854
2017-02-15 20:40:42 +01:00
Roland Kuhn
5766cd701d allow named adapters and add receptionist to system 2017-02-15 10:47:02 +01:00
Johannes Rudolph
1b3d2acbcc
=rem #22277 log remoting connection errors
An alternative way of reporting might be to make the error part of the
DisassociationInfo. This would require changing or adding another subclass
which is a non-compatible change. Could still be worthwhile to do to prevent
double logging.
2017-02-13 10:50:43 +01:00
Patrik Nordwall
9fabbdf710 Merge pull request #22209 from akka/wip-22141-majority-patriknw
use minCap for majority write/read in sharding, #22141
2017-01-25 14:30:26 +01:00
Patrik Nordwall
94e40460a4 Merge pull request #22206 from akka/wip-21423-remove-deprecations-patriknw
remove deprecations, #21423
2017-01-24 16:45:31 +01:00
Patrik Nordwall
b45a254685 use minCap for majority write/read in sharding, #22141
* also added some docs about the feature since that was missing
2017-01-24 16:41:18 +01:00
Patrik Nordwall
0c1d9e3d2e Merge pull request #22202 from akka/wip-22201-promote-ddata-patriknw
Promote Distributed Data, #22201
2017-01-24 16:34:31 +01:00
Patrik Nordwall
fbe33c35a5 remove deprecated constructor in DeadlineFailureDetector, #21423 2017-01-24 13:35:52 +01:00
Patrik Nordwall
311d70b88a remove deprecated ARRAY_OF_BYTE_ARRAY, #21423 2017-01-24 13:35:51 +01:00
Patrik Nordwall
a9198880ce remove deprecated persist method, #21423
* superseded by persistAll
2017-01-24 13:35:51 +01:00
Patrik Nordwall
fa11ed1817 remove deprecated methods in routing, #21423 2017-01-24 13:35:47 +01:00
Patrik Nordwall
9c1ad65736 removal of deprecated constructor in PromiseActorRef, #21423 2017-01-24 13:34:11 +01:00
Patrik Nordwall
db74c33130 remove deprecated constructor in serializers, #21423 2017-01-24 13:34:05 +01:00
Patrik Nordwall
cc8c543b90 remove deprecated util.Crypt, #21423 2017-01-24 13:32:47 +01:00
Patrik Nordwall
e69fc6e934 remove some deprecated event bus classes, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
5afa66589f remove deprecated ActorPath.ElementRegex, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
0f8f47878b remove deprecated ActorSystem termination methods, #21423
* those were deprecated by #15757 before 2.4.0
2017-01-24 13:32:46 +01:00
Patrik Nordwall
3e7ffd6b96 Add support for delta-CRDT, #21875
* delta GCounter and PNCounter
* first stab at delta propagation protocol
* send delta in the direct write
* possibility to turn off delta propagation
* tests
* protobuf serializer for DeltaPropagation
* documentation
2017-01-24 13:24:45 +01:00
Patrik Nordwall
f409c06c78 Promote Distributed Data, #22201 2017-01-24 12:49:27 +01:00
Patrik Nordwall
4bd6b7aab1 improve AbstractActor, #21717
* Receive class that wraps PartialFunction, to avoid
  scary scala types
* move AbstractActorContext to AbstractActor.ActorContext
* converting docs, many, many UntypedActor
* removing UntypedActor docs
* add unit test for ReceiveBuilder
* MiMa filters
* consistent use of getContext(), self(), sender()
* rename cross references
* migration guide
* skip samples for now
* improve match type safetyi, add matchUnchecked
  * the `? extends P` caused code like this to compile:
    `match(String.class, (Integer i) -> {})`
  * added matchUnchecked, since it can still be useful (um, convenient)
    to be able to do:
    `matchUnchecked(List.class, (List<String> list) -> {})`
* eleminate some scala.Option
  * preRestart
  * findChild
  * ActorIdentity.getActorRef
2017-01-23 18:30:52 +01:00
Patrik Nordwall
952be31a7d make pruning of CRDT garbage work, #21647
* fix merge issues of DataEnvelope and its pruning
* simplify by removing the tombstones, which didn't work in all cases anyway
* keep the PruningPerformed markers in the DataEnvelope until configured
  TTL has elapsed (wall clock)
* simplify PruningState structure
* also store the pruning markers in durable data
* collect removed nodes from the data, listing on MemberRemoved is not enough
* possibility to disable pruning altogether
* documented caveat for durable data
2017-01-23 16:54:02 +01:00
Patrik Nordwall
37679d307e rememberingEntities with ddata mode, #22154
* one Replicator per configured role
* log LMDB directory at startup
* clarify the imporantce of the LMDB directory
* use more than one key to support many entities
2017-01-23 11:57:52 +01:00
Patrik Nordwall
452b3f1406 remove old deprecated cluster metrics, #21423
* corresponding was moved to akka-cluster-metrics, see
  http://doc.akka.io/docs/akka/2.4/project/migration-guide-2.3.x-2.4.x.html#New_Cluster_Metrics_Extension
2017-01-20 13:48:36 +01:00
inakov
e043a9fffe Add minimum cap for ReadMajority/WriteMajority #21618 2017-01-18 14:13:40 +02:00
Patrik Nordwall
14e0a70b46 Merge pull request #22142 from inakov/wip-distributed-data-delete-api-update-new-inakov
Update DistributedData Delete API to include optional request context. Clear Pull Request
2017-01-17 17:15:15 +01:00
Patrik Nordwall
84ade6fdc3 add CoordinatedShutdown, #21537
* CoordinatedShutdown that can run tasks for configured phases in order (DAG)
* coordinate handover/shutdown of singleton with cluster exiting/shutdown
* phase config obj with depends-on list
* integrate graceful leaving of sharding in coordinated shutdown
* add timeout and recover
* add some missing artery ports to tests
* leave via CoordinatedShutdown.run
* optionally exit-jvm in last phase
* run via jvm shutdown hook
* send ExitingConfirmed to leader before shutdown of Exiting
  to not have to wait for failure detector to mark it as
  unreachable before removing
* the unreachable signal is still kept as a safe guard if
  message is lost or leader dies
* PhaseClusterExiting vs MemberExited in ClusterSingletonManager
* terminate ActorSystem when cluster shutdown (via Down)
* add more predefined and custom phases
* reference documentation
* migration guide
* problem when the leader order was sys2, sys1, sys3,
  then sys3 could not perform it's duties and move Leving sys1 to
  Exiting because it was observing sys1 as unreachable
* exclude Leaving with exitingConfirmed from convergence condidtion
2017-01-16 09:01:57 +01:00