Commit graph

20524 commits

Author SHA1 Message Date
Patrik Nordwall
e61ffd1132 protobuf serialization of Status.Succes, Status.Failure, #21202 (#21565)
* also support for serialization of exceptions, see
  comment in reference.conf

* extract Throwable and Payload methods to helper classes

* add security checks before creating instance from class name
2016-09-28 11:14:33 +02:00
Patrik Nordwall
1d3920d5db Merge pull request #21561 from akka/wip-sendTerminationHint-patriknw
harden shutdown exception in sendTerminationHint
2016-09-28 11:13:28 +02:00
Patrik Nordwall
9faa324eeb Merge pull request #21571 from akka/wip-note-multi-lanes-patriknw
multi lanes not supported yet
2016-09-28 11:12:42 +02:00
Patrik Nordwall
a7b8f830d9 Merge pull request #21531 from akka/wip-21401-freeSessionBuffer-patriknw
freeSessionBuffer in AeronSource FragmentAssembler, #21401
2016-09-28 11:00:41 +02:00
Patrik Nordwall
9b72f42fa2 Merge pull request #21560 from akka/wip-21538-postStop-patriknw
complete the Future[Done] in AeronSink in finally, #21538
2016-09-28 10:25:04 +02:00
Patrik Nordwall
b641a4c7c5 Merge pull request #21558 from akka/wip-21422-rem-deploy-drop-patriknw
Better to send msg to unresolved ref than dropping it, #21422
2016-09-28 10:24:04 +02:00
drewhk
08264cc781 Merge pull request #21577 from akka/wip-afr-ids-patriknw
fix wrong afr id
2016-09-27 19:15:27 +02:00
Patrik Nordwall
c3a69e3c42 fix wrong afr id 2016-09-27 17:56:15 +02:00
Patrik Nordwall
178b92b7b3 Merge pull request #21533 from johanandren/wip-21500-ArteryRemoteNodeDeathWatchFastSpec-johanandren
Testconductor allows more 10s of time to pass to give artery time to shutdown
2016-09-27 17:28:17 +02:00
Patrik Nordwall
c7d14f8fe5 Merge pull request #21559 from 2m/wip-byte-table-version
#20872 Change tableVersion to Byte
2016-09-27 15:03:37 +02:00
Patrik Nordwall
d37fa8ec02 remove Range.Inclusive subclass (toString), #21548
* remove Range.Inclusive subclass (toString), #21548
* update java8-compat dependency for Scala 2.12-RC1
2016-09-27 13:21:49 +02:00
Martynas Mickevičius
af70107667 #20872 Change tableVersion to Byte 2016-09-27 14:16:26 +03:00
Patrik Nordwall
8cbeb662d9 multi lanes not supported yet 2016-09-27 13:03:07 +02:00
Patrik Nordwall
b7475b50f2 increase timeout for fist message in RemoteSendConsistencySpec, #21529 2016-09-27 09:56:26 +02:00
Patrik Nordwall
86d912a299 Merge pull request #21555 from akka/wip-21522-StressSpec-patriknw
increase acceptable-heartbeat-pause in StressSpec, #21522
2016-09-26 19:21:07 +02:00
Johan Andrén
8ae0c9a888 Use long uid in artery remoting and cluster #20644 2016-09-26 15:34:59 +02:00
Patrik Nordwall
ae860115ac harden shutdown exception in sendTerminationHint 2016-09-26 14:05:16 +02:00
Patrik Nordwall
90c1f04b44 complete the Future[Done] in AeronSink in finally, #21538
* might not be possible to close the publication if the
  media driver has crashed
* important to always complete the future, otherwise the
  shutdown process will not complete
2016-09-26 14:00:00 +02:00
Patrik Nordwall
4cccca8d52 Better to send msg to unresolved ref than dropping it, #21422
* for the remote deployed actors
* e.g. watch of really dead actor
* this doesn't solve the ticket, we will make a better solution later
2016-09-26 12:43:53 +02:00
KAWACHI Takashi
6e0b8b98f3 Fixed typo in GraphInterpreter.scala (#21552) 2016-09-25 01:24:08 +02:00
Johan Andrén
e9c4393f7b Flight recorder improvements (#21532)
* Little runnable app to dump .afr files
* Merge the three sources of events into one time sorted list
* The summary isn't that useful, let's not show it.
2016-09-23 21:42:07 +02:00
Patrik Nordwall
ddb2b5cd28 fix typo in futures.rst (#21536) 2016-09-23 18:20:28 +02:00
Patrik Nordwall
d91ddb7891 increase acceptable-heartbeat-pause in StressSpec, #21522 2016-09-23 15:50:32 +02:00
Johan Andrén
5161e4d40a Testconductor allows more time to pass to give artery time to shutdown #21500 2016-09-23 15:01:51 +02:00
Patrik Nordwall
531d6cb749 akka.remote.artery.canonical.port in sample
adjust artery config
2016-09-23 13:08:02 +02:00
Patrik Nordwall
1408a47e00 freeSessionBuffer in AeronSource FragmentAssembler, #21401 2016-09-23 13:08:02 +02:00
Patrik Nordwall
30603d194a log-received-messages and log-sent-messages, #21506 (#21508)
* log-received-messages and log-sent-messages, #21506

* also duplicate the trusted settings to artery section
2016-09-23 12:30:54 +02:00
drewhk
4d8b8578f4 Merge pull request #21520 from drewhk/wip-21400-flush-message-streams-drewhk
#21400: Flush ordinary and control message streams
2016-09-23 12:15:18 +02:00
Endre Sándor Varga
1a6661f552 21400: Flush ordinary and control message streams 2016-09-23 11:19:43 +02:00
Patrik Nordwall
63917c1947 Merge pull request #21513 from akka/wip-21512-quick-restart-patriknw
fix problem with quick restart, #21512
2016-09-22 18:33:22 +02:00
Patrik Nordwall
455d6a45cc fix shutdown race in sendControl, #21514 (#21517)
* fix shutdown race in sendControl, #21514

* the stack trace showed IllegalStateException: outboundControlIngress not initialized yet
  via the call to sendControl
* that could happen if there is a shutdown at the same time, which is exactly what the test does
* it was actually caused by a merge mistake, but now it got even better

* countDown latch on shutdown
2016-09-22 11:07:17 +02:00
Jeroen Gordijn
a18b59f0dc Change doc: reflect WeaklyUp is used in DD #21502 2016-09-22 09:53:14 +02:00
monkey-mas
f8f8828451 =act improve ByteString#take(...) (#21438)
Currently, we use ByteStringBuilder to create a new ByteString instance,
which would not be quite efficient.

Instead of doing this, we can do as follows so that we can achieve better performance:
1. Seek the index of _last_ vector element we need to _take_
2. Find the number of characters left to take from the _last_ ByteString1 element.
3. Create ByteString based on the information we obtained from 1 and 2

Then we just need to create a new Vector[ByteString1] at most twice, which should be
better than the current implementation, i.e., _append_ a new element every time we check
bytestrings(Vector[ByteString1]) element, which ends up O(N) _append_ execution where _N_ is
the length of bytestrings.
2016-09-21 20:40:54 -07:00
Patrik Nordwall
9f175f56de fix problem with quick restart, #21512
* image-liveness-timeout must be less than the handshake-timeout,
  otherwise the publication for the handshake will give up too early
  when previous image is still considered alive
2016-09-21 20:27:04 +02:00
Patrik Nordwall
1d3661b556 Merge pull request #21510 from akka/wip-21509-revert-quarantine-patriknw
revert quarantine removed (leaving) cluster member, #21509
2016-09-21 18:51:36 +02:00
Patrik Nordwall
f1590a59b4 revert quarantine removed (leaving) cluster member, #21509 2016-09-21 17:27:34 +02:00
Patrik Nordwall
7522a1db40 Merge pull request #21492 from akka/wip-21407-stop-outbound-patriknw
stop outbound streams when quarantined, #21407
2016-09-21 15:45:32 +02:00
Patrik Nordwall
1926560e41 stop outbound streams when quarantined, #21407
* they can't be stopped immediately because we want to send
  some final message and we reply to inbound messages with `Quarantined`
* and improve logging
2016-09-21 14:38:13 +02:00
Patrik Nordwall
11097eedad Merge pull request #21498 from akka/wip-close-incompressions-patriknw
close inbound compressions properly
2016-09-21 14:18:27 +02:00
Johan Andrén
0370acc121 Fix artery segfaults on termination (#21501) 2016-09-21 13:24:35 +02:00
Nafer Sanabria
94d7237d17 +str add zipWithIndex to FlowOps #21290 2016-09-21 08:41:56 +02:00
Johan Andrén
27b45b0a42 Merge pull request #21495 from johanandren/wip-21027-heap-structure-path-compr-last-push-johanandren
Introducing heap structure in actor path compression (cont)
2016-09-20 15:20:27 +02:00
Łukasz Dubiel
642a145ca1 =art Heap structure in heavy hitters 2016-09-20 15:18:48 +02:00
Martynas Mickevičius
08670ca155 Add non-local recipient check when handling HandshaleReq (#21497) 2016-09-20 13:23:50 +02:00
drewhk
44f5c6a448 Merge pull request #21499 from drewhk/wip-fix-afr-file-deletion-windows-drewhk
Fix AFR file deletion on Windows
2016-09-20 12:46:11 +02:00
Endre Sándor Varga
9f7389448a Fix AFR file deletion on Windows 2016-09-20 12:38:58 +02:00
Patrik Nordwall
82598938f1 close inbound compressions properly
* after quarantine we should never start new inbound compressions for
  that uid
* I noticed that the hit counting was creating new instances also for
  quarantined, and thereby scheduling advertisments
2016-09-20 11:37:33 +02:00
drewhk
97d1a17d71 Merge pull request #21493 from drewhk/wip-21419-reenable-clusterdeathwatchspec-drewhk
#21419: Reenable ClusterDeathWatchSpec
2016-09-20 10:58:13 +02:00
Ortigali
c1a840b2e9 MDC support for LoggingReceive #21361 2016-09-20 09:34:11 +02:00
Patrik Nordwall
3bc2cb2294 Merge pull request #21494 from akka/wip-taskrun-shutdown-patriknw
improve shutdown of TaskRunner, #21430
2016-09-19 15:45:33 +02:00