Commit graph

13469 commits

Author SHA1 Message Date
Martin Krasser
4e5ce5529c !per #3761 Reliable channels
- Built-in redelivery mechanism for Channel and PersistentChannel
- redelivery counter on ConfirmablePersistent
- redeliveries out of initial message delivery order
- relative order of redelivered messages is preserved
- configurable redelivery policy (ChannelSettings)
- Major refactorings of channels (and channel tests)
- Throughput load test for PersistentChannel

Todo:

- Paged/throtlled replay (another pull request)
- Resequencer (another pull request)
2013-12-12 12:22:46 +01:00
Patrik Nordwall
3231bb3729 Merge pull request #1849 from akka/wip-3688-soreuseaddress-√
+act #3688 - Calls bind _after_ all pre-connect-hooks
2013-12-04 23:22:53 -08:00
Björn Antonsson
cb729228b0 Merge pull request #1859 from akka/wip-3753-change-build-to-allow-scala-nightlies-ban
=pro #3753 Override dependency versions from command line
2013-12-04 02:04:41 -08:00
Björn Antonsson
4fec1896a1 Merge pull request #1856 from akka/wip-3752-publish-local-to-right-directory-ban
=pro #3752 publish jars locally to the right directory
2013-12-04 02:03:59 -08:00
Björn Antonsson
b842722675 Merge pull request #1855 from akka/wip-upgrade-to-sbt-0.13.1-RC5-ban
=pro Upgrade to sbt 0.13.1-RC5
2013-12-04 02:03:46 -08:00
Björn Antonsson
7c8fcc4c61 Merge pull request #1840 from akka/wip-3633-failed-systemmessagedeliverynopassive-ban
=rem #3633 Fix race between EndpointWriter Terminated and TakeOver
2013-12-04 01:59:38 -08:00
Björn Antonsson
00a268b6b3 =pro #3753 Override dependency versions from command line 2013-12-03 16:47:10 +01:00
Patrik Nordwall
761c677396 Merge pull request #1853 from krasserm/wip-3746-shared-leveldb-krasserm
+per #3746 Remote sharing of LevelDB for testing purposes
2013-12-03 01:06:15 -08:00
Martin Krasser
d0bc8a6400 +per #3746 Remote sharing of LevelDB for testing purposes
Further changes

- remove obsolete identity checks in Eventsourced
- fix wrong serialize-messages config in tests
2013-12-03 08:51:25 +01:00
Björn Antonsson
838e8ffbc1 =rem #3633 Fix race between EndpointWriter Terminated and TakeOver 2013-12-02 12:23:11 +01:00
Björn Antonsson
5f6f1609f8 =pro #3752 publish jars locally to the right directory 2013-11-29 11:31:38 +01:00
Björn Antonsson
6009815dfc =pro Upgrade to sbt 0.13.1-RC5 2013-11-29 10:29:04 +01:00
Viktor Klang
6ebf6717c9 =act #3688 - Calls bind _after_ all pre-connect-hooks 2013-11-27 13:40:17 -08:00
Patrik Nordwall
4d05253391 Merge pull request #1844 from krasserm/wip-3729-journaling-protocol-optimization-krasserm
!per #3729 Journaling protocol optimization
2013-11-27 08:43:45 -08:00
Patrik Nordwall
29e6643a19 Merge pull request #1850 from krasserm/wip-3733-re-receive-unstashed-terminated-krasserm
=act #3733 Re-receive unstashed Terminated messages
2013-11-27 08:43:19 -08:00
Martin Krasser
f3f69f55d4 =act #3733 Re-receive unstashed Terminated messages 2013-11-27 13:53:07 +01:00
Martin Krasser
6e2f80bab0 !per #3729 Journaling protocol optimization
- internal batching of individually received Persistent messages
- testing fault tolerance of Processor in presence of random
  * journaling failures
  * processing failures
2013-11-27 13:51:27 +01:00
Patrik Nordwall
dcad66aeea Merge pull request #1846 from akka/wip-3630-serializer-ctor-fallback-√
+act #3630 - Only fall back to default ctor if NoSuchMethodException
2013-11-27 02:22:25 -08:00
Björn Antonsson
96689f6b1b Merge pull request #1848 from jrudolph/w/tcp-outgoing-refactoring
=act cleanup state parameters in TcpOutgoingConnection
2013-11-26 04:05:53 -08:00
Johannes Rudolph
aac7e7ad4a =act cleanup state parameters in TcpOutgoingConnection
Backport of c480208f56
2013-11-23 10:25:16 +01:00
Viktor Klang
7588f04292 +act #3630 - Only fall back to default ctor if NoSuchMethodException 2013-11-22 17:13:24 -08:00
Patrik Nordwall
c35988de2c Merge pull request #1829 from akka/wip-3683-pingpong-cluster-heartbeat-patriknw
!clu #3683 Change cluster heartbeat to req/rsp protocol
2013-11-22 05:18:17 -08:00
Patrik Nordwall
5af6d0711a Merge pull request #1845 from krasserm/wip-3739-javadoc-gen-broken-krasserm
=per #3739 Fix broken Javadoc generation
2013-11-21 05:43:50 -08:00
Martin Krasser
5f9355a778 =per #3739 Fix broken Javadoc generation
- caused by field named 'native' in LevelDBJournal
2013-11-21 12:58:14 +01:00
Patrik Nordwall
524addd404 Merge pull request #1838 from krasserm/wip-3717-deletion-api-krasserm
!per #3717 Deletion API for snapshots and persistent messages
2013-11-21 00:54:44 -08:00
Patrik Nordwall
7336fe69a5 Merge pull request #1839 from krasserm/wip-3718-native-leveldb-krasserm
=per #3718 Support for native LevelDB
2013-11-21 00:53:38 -08:00
Martin Krasser
4489a72bea !per #3717 Deletion API for snapshots and persistent messages
- single and bulk deletion of messages
- single and bulk deletion of snapshots
- run journal and snapshot store as system actors
- rename physical parameter in delete methods to permanent
- StashSupport.prepend docs and implementation enhancements
2013-11-20 14:45:29 +01:00
Patrik Nordwall
403a1c54fb Merge pull request #1818 from akka/wip-3656-incomplete-TA-docs-√
+doc #3656 correcting the TypedActor documentation
2013-11-20 03:01:01 -08:00
Roland Kuhn
ce9fd56db4 Merge pull request #1787 from ktonga/wip-3671-custom-mdc-values
Let the application specify custom MDC values
2013-11-15 07:56:01 -08:00
Gaston M. Tonietti
9e9d5541b4 +act #3671 Implementing support for MDC values defined by the application. Fixes #3671.
* Added LogEvent subclasses with new field for transporting the MDC custom values.
* Slf4jLogger now takes MDC values from new LogEvent field, puts all in MDC before appending the log, and removes all after.
* New trait DiagnosticLoggingAdapter was introduced, which extends LoggingAdapter and adds MDC support with methods to get, set and clear MDC values.
* New factory method added to Logging for getting loggers with MDC support.
* BusLogging was changed to create new LogEvents including the MDC values.
* Actors can mixin with DiagnosticActorLogging which defines a diagnostic logger "log", has a hook to override for defining MDC values per message, and overrides aroundReceive for setting and clearing MDC around receive execution.
* Proper documentation was added for Scala and Java under the Logging/Slf4j section.
2013-11-15 11:09:22 -03:00
Patrik Nordwall
eaad7ecf7e !clu #3683 Change cluster heartbeat to req/rsp protocol
* The previous one-way hearbeat was elegant, but comlicated to
  understand and without giving much extra value compared to this approach.
* The previous one-way heartbeat have some kind of bug when joining
  several (10-20) nodes at approximately the same time (but not exactly
  the same time) with a false failure detection triggered by the extra heartbeat,
  which would not heal.
* This ping-pong approach will increase network traffic slightly, but heartbeat
  messages are small and each node is limited to monitor (default) 5 peers.
2013-11-15 08:18:52 +01:00
Patrik Nordwall
05f402c236 Merge pull request #1825 from akka/wip-3665-untrusted-ActorSelection-patriknw
+rem #3665 Allow trusted selections in untrusted-mode
2013-11-14 23:07:50 -08:00
Patrik Nordwall
064470cf1f Merge pull request #1837 from akka/wip-3687-osgi-dependency-doc-patriknw
=doc Add dependency and sample to osgi docs
2013-11-14 05:26:59 -08:00
Patrik Nordwall
d0e5f3cbe9 =doc Add dependency and sample to osgi docs 2013-11-14 14:26:18 +01:00
Patrik Nordwall
f35203ef1b Merge pull request #1836 from akka/wip-3512-zeromq-test-patriknw
=zer #3512 Harden zeromq ConcurrentSocketActorSpec
2013-11-14 05:24:58 -08:00
Patrik Nordwall
0c197211da Merge pull request #1834 from akka/wip-SupervisorHierarchySpec-patriknw
=act Log random seed in case of SupervisorHierarchySpec failure
2013-11-14 05:22:54 -08:00
Patrik Nordwall
6421770b57 Merge pull request #1831 from akka/wip-3590-refuse-tick-overflow-patriknw
=act #3590 Reject task scheduled too far in the future
2013-11-14 05:20:16 -08:00
Patrik Nordwall
1b5f8aa8ad =act #3590 Reject task scheduled too far in the future 2013-11-14 14:18:30 +01:00
Patrik Nordwall
67393c0fb6 +rem #3665 Allow trusted selections in untrusted-mode 2013-11-14 14:08:46 +01:00
Patrik Nordwall
55bb2ebcdb Merge pull request #1824 from akka/wip-3543-ActorSelection-forward-patriknw
+act #3073 Add forward to ActorSelection
2013-11-14 04:45:16 -08:00
Patrik Nordwall
eb035aed18 +act #3073 Add forward to ActorSelection 2013-11-14 13:44:42 +01:00
Patrik Nordwall
9be16091d3 Merge pull request #1823 from akka/wip-3507-ActorSelection-toString-patriknw
=act #3507 Change format of ActorSelection.toString
2013-11-14 04:41:08 -08:00
Patrik Nordwall
22a7a0626a =act #3507 Change format of ActorSelection.toString 2013-11-14 13:40:30 +01:00
Patrik Nordwall
44d3a96776 Merge pull request #1822 from akka/wip-3579-ActorSelection-deadLetters-patriknw
+act #3579 Direct ActorSelection for missing actor to deadLetters
2013-11-14 04:38:46 -08:00
Martin Krasser
9fce211f3b =per #3718 Support for native LevelDB 2013-11-14 12:18:34 +01:00
Patrik Nordwall
e104e2a92c Merge pull request #1827 from krasserm/wip-3707-channel-enhancements
!per #3707 Channel enhancements
2013-11-14 03:13:17 -08:00
Martin Krasser
ba9fc4da46 !per #3707 Channel enhancements
- Persistent channel
- ConfirmablePersistent message type delivered by channel
- Sender resolution performance improvements
   * unstash() instead of unstashAll()

These enhancements required the following changes

- Unified implementation of processor stash and user stash
- Persistence message plugin API separated from implementation
- Physical deletion of messages
2013-11-14 12:05:37 +01:00
Patrik Nordwall
03743f4447 =zer #3512 Harden zeromq ConcurrentSocketActorSpec
* 3 sec timeout waiting for terminated increased to 5 sec,
  ConcurrentSocketActor postStop (poller.unregister or socket.close)
  might perhaps take a while
* message from previous test step interleaved with next step, use
  separate endpoints for each step
2013-11-12 14:50:27 +01:00
Patrik Nordwall
fcb75a92ed Merge pull request #1832 from robdavid/wip-3706-avoid-loss-of-floating-point-precision-in-phiaccrualfailuredetector
=rem #3706 Avoid loss of floating point precision in PhiAccrualFailureDe...
2013-11-12 04:28:03 -08:00
Patrik Nordwall
302f565bbe =act Log random seed in case of SupervisorHierarchySpec failure
* It will never be deterministic, but with reproducble random sequence we
  might have a better chance to repeat run the test to reproduce failure.
2013-11-12 11:37:44 +01:00