Commit graph

20245 commits

Author SHA1 Message Date
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
8fd5b7e53e Merge pull request #22165 from akka/wip-22150-stash-before-load-patriknw
stash messages while Replicator is loading durable data, #22150
2017-01-23 11:34:34 +01:00
Patrik Nordwall
b07c0858ef Merge pull request #22044 from akka/wip-22041-ser-fun-patriknw
serialize Scala 2.12 functions when used in remote deployment, #22041
2017-01-23 11:22:23 +01:00
Alex Bezhan
a7d9cdcb12 Fix a typo 2017-01-22 15:35:17 +01:00
Patrik Nordwall
8292500631 Merge pull request #22011 from Chuwiey/circuit-breaker-docs
Improve CircuitBreaker documentation #21879
2017-01-20 14:18:39 +01:00
Patrik Nordwall
b72ca92799 serialize Scala 2.12 functions for when used in remote deployment, #22041 2017-01-20 14:09:21 +01:00
Patrik Nordwall
5de92866ee Merge pull request #22172 from akka/wip-samples-coordinated-patriknw
Don't shutdown ActorSystem in tests
2017-01-20 13:58:25 +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
ortigali
6aa67703a8 add serialize-messages=off #22128 2017-01-20 13:34:23 +01:00
Patrik Nordwall
4722252bf1 cleanup old migration guides (#22164) 2017-01-20 13:33:23 +01:00
Patrik Nordwall
611dc93261 add note about CoordinatedShutdown and tests, #21537 2017-01-20 13:25:29 +01:00
Patrik Nordwall
9ad8b2e997 Don't shutdown ActorSystem in tests
* changes due to new coordinated shutdown behavior
2017-01-20 11:35:56 +01:00
Patrik Nordwall
572d0c8040 stash messages while Replicator is loading durable data, #22150 2017-01-19 12:55:28 +01:00
Patrik Nordwall
d276a31c34 Merge pull request #22152 from dluc/patch-1
Update cluster-usage.rst, fix typo
2017-01-18 17:10:52 +01:00
Patrik Nordwall
ea2be84646 Merge pull request #22143 from ortigali/wip-doc-event-stream
Remove extra parameter to match constructor of Listener class
2017-01-18 17:09:17 +01:00
Patrik Nordwall
b3e4581a9e Merge pull request #22157 from inakov/wip-21618-ddata-read-write-majority-with-min-cap-new-inakov
Add minimum cap for ReadMajority/WriteMajority #21618
2017-01-18 16:41:10 +01:00
inakov
e043a9fffe Add minimum cap for ReadMajority/WriteMajority #21618 2017-01-18 14:13:40 +02:00
ortigali
d650671d34 define Listener classes as top level class and remove unused AnyRef instance 2017-01-18 17:06:34 +05:00
Johan "Party Cannon" Andrén
91d6a3f125 #22147 show the cause of the error stopping durable store 2017-01-18 09:19:49 +01:00
Devis Lucato
bbc37d26d4 Update cluster-usage.rst, fix typo
Just added a missing "." in a sentence
2017-01-17 17:19:12 -08:00
Patrik Nordwall
6c8a69109a Merge pull request #22138 from VEINHORN/master
Remove unnecessary new keywords
2017-01-17 19:31:45 +01:00
Patrik Nordwall
c61ed5a240 Merge pull request #22146 from akka/wip-22145-exclusive-Sequence-patriknw
use exclusive fromSequenceNumber in eventsByTag, #22145
2017-01-17 17:48:35 +01: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
fcddd5fa72 Merge pull request #22144 from jgordijn/22140-test-failure-ReplicatedDataSerializer-jgordijn
#22140 fixed ReplicatedDataSerializerSpec error with artery serializers
2017-01-17 10:51:29 +01:00
Patrik Nordwall
8083c0bf4a use exclusive fromSequenceNumber in eventsByTag, #22145
* The reason is to have a consistent approach for Sequence and
  TimeBasedUUID, which are both intended as unique event identifiers.
* This means that you can use the offset that is returned in `EventEnvelope`
  as the `offset` parameter in a subsequent query.
2017-01-16 11:43:47 +01:00
Patrik Nordwall
4b6a650f56 Merge pull request #21930 from akka/wip-21537-coordinated-patriknw
add CoordinatedShutdown, #21537
2017-01-16 09:59:49 +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
Jeroen Gordijn
55a1532e56 #22140 fixed ReplicatedDataSerializerSpec error with artery serializers 2017-01-16 08:51:40 +01:00
ortigali
c44275b8b7 remove extra parameter to match Listener constructor 2017-01-16 11:52:45 +05:00
inakov
65cba329d0 Updated DistributedData Delete API to include optional request context.
#20140
2017-01-14 14:30:58 +02:00
Patrik Nordwall
4a9c753710 Merge pull request #22063 from jgordijn/21648-Prefer_reachable_nodes_in_consistency-jgordijn
#21648 Prefer reachable nodes in consistency writes/reads
2017-01-13 12:32:41 +01:00
VEINHORN
0eac4d413b removed unnecessary new keywords 2017-01-13 12:35:05 +03:00
Konrad `ktoso` Malawski
dcd8cea32e #21475 moving compressions ownership to Decoder (#22047)
* WIP early preview of moving compressions ownership to Decoder

* Compression table created in transport, but owned by Decoder
Added test for restart of inbound stream

* =art snapshot not needed in HeavyHitters since owned by Decoder
2017-01-13 10:33:55 +01:00
gosubpl
c80c3e16c4 remove org.uncommons.maths dependency (#12636)
Also
* add InternalApi annotation to AESCounterBuiltinRNG
* add setDaemon(true) to re-seeder thread
2017-01-13 10:23:06 +01:00
Patrik Nordwall
a8f9ad4775 Merge branch 'master' into 21648-Prefer_reachable_nodes_in_consistency-jgordijn 2017-01-13 10:21:09 +01:00
Patrik Nordwall
956676d0bc Merge pull request #22089 from VEINHORN/master
Remove redundant new modifier
2017-01-12 15:34:59 +01:00
Patrik Nordwall
98d6907960 Merge pull request #22060 from jgordijn/22035-Change_ORMap_to_more_generic_type-jgordijn
#22035  Make it possible to use anything as the key in a map
2017-01-12 15:32:32 +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
Konrad `ktoso` Malawski
bbb2d2b92a Update CONTRIBUTING.md 2017-01-11 20:09:55 +01:00
Konrad `ktoso` Malawski
ebc6bc1d50 Merge pull request #22013 from gosubpl/wip/12636-aes-ctr-prng-alternative-random
AES-CTR with re-seeding (#21740)
2017-01-11 16:09:29 +01:00
gosubpl
1f20c86d99 AES-CTR with re-seeding, review remarks included (#21740) 2017-01-11 04:31:09 +01:00
Ben Fonarov
c0df1bdbd4 Improve CircuitBreaker documentation #21879 2017-01-10 14:11:56 -05:00
Patrik Nordwall
1eba8656cd Merge pull request #22094 from akka/wip-22093-ClusterClient-ask-patriknw
stop ClusterClient ResponseTunnel after first reply when ask is used, #22093
2017-01-10 10:34:41 +01:00
Jeroen Gordijn
81f081b33c #21648 Prefer reachable nodes in consistency writes/reads 2017-01-09 20:36:54 +01:00
Patrik Nordwall
180361868c Merge pull request #22054 from akka/wip-22053-log-join-retry-patriknw
log join retries, #22053
2017-01-09 14:18:40 +01:00
Konrad Malawski
5c79b81e92 +doc document DoNotInherit and ApiMayChange 2017-01-06 15:12:53 +01:00
Konrad Malawski
6fffeceb0d +act #22109 add documentation annotations in akka.annotation 2017-01-06 13:55:15 +01:00
Patrik Nordwall
b213a7af20 stop ClusterClient ResponseTunnel after first reply when ask is used, #22093 2017-01-05 17:13:24 +01:00
Patrik Nordwall
9d2bec7f23 Merge pull request #22104 from Philippus/license-2017-22102
extended copyright into 2017 #22102
2017-01-05 16:58:38 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00