Commit graph

234 commits

Author SHA1 Message Date
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
inakov
65cba329d0 Updated DistributedData Delete API to include optional request context.
#20140
2017-01-14 14:30:58 +02:00
Patrik Nordwall
a8f9ad4775 Merge branch 'master' into 21648-Prefer_reachable_nodes_in_consistency-jgordijn 2017-01-13 10:21:09 +01:00
Jeroen Gordijn
8499ff6faf #22035 Make it possible to use anything as the key in a map
- All Map types are now generic in their key: ORMap, ORMultiMap, LWWMap,
  PNCounterMap
- test for binary compatibility with previous version for serialization
- entries are sorted for deterministic SHA-1 on same value
2017-01-11 21:20:39 +01:00
Jeroen Gordijn
81f081b33c #21648 Prefer reachable nodes in consistency writes/reads 2017-01-09 20:36:54 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Konrad `ktoso` Malawski
067b569f85 Merge branch 'master' into wip-query-2.5 2017-01-03 17:04:48 +01:00
gosubpl
83bafb48a2
removing deprecated AESCounterInetRNGs, fixes #22014 (#22015) 2017-01-03 15:39:52 +01:00
Konrad Malawski
fa85bceb57 =pro fix MiMa to survive per-query promotion to stable 2016-12-16 11:20:25 +01:00
Johan "Party Cannon" Andrén
1861ec6756 WIP ActorSystemSettings programatic config #21894 2016-12-15 15:05:13 +01:00
Konrad Malawski
760bed9c59 =act deprecate direct use of BalancingDispatcher (hide as private[akka]) 2016-12-15 12:31:20 +01:00
ortigali
0eeced1732 Add parameterless constructor to LevelDB journals (#22007)
* add parameterless constructor #22002

* add parameterless constructor #22002

* remove the filter in MiMa.scala #22002

* add LeveldbStore.emptyConfig to use default config #22002
2016-12-14 17:32:38 +01:00
Konrad Malawski
192a9e11b1 +str add more information to generic connection shutdown connection 2016-12-14 12:39:24 +01:00
ortigali
5b5cf4fc7b dynamic config path for levelDBJournal and localSnapshotStore #21394 2016-12-13 14:04:39 +01:00
Martynas "danger" Mickevičius
98c2adfc98 Update MiMa to 0.1.13 (#21978)
* Update to mima 0.1.13

* Filters when checking v2.4.8 against older

* Filters when checking v2.4.9 against older

* Filters when checking v2.4.10 against older

* Filters when checking v2.4.11 against older

* Filters when checking v2.4.12 against older

* Filters when checking v2.4.14 against older

* Filters when checking master against older

* Remove not used filter
2016-12-13 12:58:59 +01:00