Skip to content

V1.3.14 sync #3872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 76 commits into from
Jul 31, 2019
Merged

V1.3.14 sync #3872

merged 76 commits into from
Jul 31, 2019

Conversation

Aaronontheweb
Copy link
Member

No description provided.

Aaronontheweb and others added 30 commits May 15, 2018 12:04
v1.3.7 Production Akka.NET Release
Akka.NET v1.3.9 Production Release
Akka.NET v1.3.11 stable release
* Skip MNTRNuGet pack when skipping builds

* create bin/nuget folder
Changed Journals and Snapshot store examples to align them correctly.

Closes akkadotnet#3732
* Update serialization.md

Fixes warning: [19-02-06 08:40:50.533]Warning:[BuildCommand.BuildCore.Build Document.CompilePhaseHandlerWithIncremental.ConceptualDocumentProcessor.Build.BuildConceptualDocument](articles/networking/serialization.md#L197)Inline code snippet is only allowed inside tables.

* Update index.md
* Introduce 'MemberDowned' member event
Migrated from #25854

* Ignore possible state change while waiting for removal
Migrated from #25274

* mark TryToIdentifySingleton as NoSerializationVerificationNeeded
Migrated from #24442

* Improvements of singleton leaving scenario
Migrated from #25639 (#25710)

Testing of singleton leaving
gossip optimization, exiting change to two oldest per role
hardening ClusterSingletonManagerIsStuck restart, increase ClusterSingletonManagerIsStuck

* Stop singleton and shards when self MemberDowned
Migrated from #26336 (#26339)

Stop singleton when self MemberDowned
  * It's safer to stop singleton instance early in case of downing.
  * Instead of waiting for MemberRemoved and trying to hand over.
Stop ShardRegion when self MemberDowned
Upper bound when waiting for seen in shutdownSelfWhenDown

* Discards HandOverToMe in state End to avoid unhandled message warning
Migrated from #26793

* Warn if handOffStopMessage not handled
Migrated from #25648

Stops entities of shard forcefully if they don't handle stopMessage
Prints a warning log while stopping the entities
fix version of backward exclude file and checks for shard stopped
adds documentation for handoff timeout

* Save EntityStarted when StartEntity requested via remembered entities (for validation)
Migrated from #26061

* Improve default shard rebalancing algorithm
Migrated from #26012 (#26101)

* Improve default shard rebalancing algorithm

* Use rebalance-threshold=1 because it will give the best distribution,
  and previous default could result in too large difference between nodes
* Off by one error, difference > threshold vs >=
* Added more unit tests
* Note that in some cases it may still not be optimal, stopping more
  shards than necessary, but a different strategy that looks at more
  than most and least is out of scope for this issue. In practise
  those cases shouldn't matter much.
* Also note that the rebalance interval is by default 10 seconds,
  so typically shards will start up before next rebalance tick.
  It's intentionally a slow process to not cause instabilities by
  moving too much at the same time.

* Always retry sendGracefulShutdownToCoordinator
Migrated from #26214

* I could reproduce the issue locally with debug logging and it's clear that it's a
  timing issue. The GracefulShutdownReq message goes to deadletters and it's not
  retried because the coordinator variable was unset.
* cluster-sharding-shutdown-region phase of CoordinatedShutdown timed out

* Consolidate duplicate persistence sharding function
Migrated from #26451 (#26452)

* API approval

* sharding with ddata specs timing issue fix

* Enable passivate-idle-entity-after by default
Migrated from #25782 (#26819)

* persistent shard passivate-idle fix
ddata passivate-idle fix
sharding fixes (part of #26878)

* Removed references to System.ValueTuple
* fixed solution issues that prevented NuGet publication

* fixed last publish bug
…0641 (akkadotnet#3782)

* to be able to introduce new messages and still support rolling upgrades,
  i.e. a cluster of mixed versions
* note that it's only catching NotSerializableException, which we already
  use for unknown serializer ids and class manifests
* note that it is not catching for system messages, since that could result
  in infinite resending

Do not tear down connections on IllegalArgumentException from serializer, Migrated from #24910
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
* cleaned up release builds

* added support for nightly Akka.NET builds again
…et#3744)

* fixed typo in RemoteActorRefProvider comment

* Working on akkadotnet#3414 - bringing SerializeWithTransport API up to par with JVM

* added spec to help validate CurrentTransportInformation issues

Based on the equivalent JVM spec

* working on bringing serialization up to snuff

* brought serialization class up to snuff

* wrapping up RmeoteActorRefProvider implementation

* WIP

* cleaning up Serialization class

* looks like there's a Lazy<SerializationInfo> translation from Scala to C# that we haven't quite done

* fixed Serialization class

* fixed bug with Akka.Remote.Serialization.SerializationTransportInformationSpec

* forced a couple of specs using default akka.remote configs to run sequentially

This was done in order to avoid the two specs trying to bind on the same port at the same time.

* added serialization verification to the Akka.Persistence.TCK

* fixed issues with default Akka.Perisstence.TCK specs

* fixed IActorRef serialziation support in Akka.Persistence journals and snapshot stores

* fixed compilation issuyes

* fixed Akka.Sql.Common serialization in a backwards-compatible fashion

* had to disable serialization specs for Sql Journals

* Added API approvals

* updated creator and serialize-all-messages serialization

* added ITestOutputHelper to Akka.Cluster.Sharding.Tests.SupervisionSpec

* made changes to LocalSnapshotSerializer

* fixed bug in WithTransport method

* updated Akka.Remote MessageSerializer
…(as intended) (akkadotnet#3810)

* Allow various redelivery parameters to be tweaked from derived classes

* Adding API change declaration

* Merge API changes to approved for PR review

Delete the received file committed by mistake

* Making various AtLeastOnceDelivery settings read-only

Added a .ctor overload to AtLeastOnceDelivery actors that allows to tweak default settings so that the user does not have to construct and specify all settings manually.
it seems should be akka.http protocol, not udp
OnurGumus and others added 23 commits July 29, 2019 19:30
…ng_recovery (akkadotnet#3805)

* fix PersistentActor_should_be_able_to_persist_events_that_happen_during_recovery

akkadotnet#3786 - fix PersistentActor_should_be_able_to_persist_events_that_happen_during_recovery by porting akka/akka#22232

* force PersistentActorRecoverySpec to use new SteppingMemoryJournal instance each time
…3806)

* akkadotnet#3786 - working on fixing AtLeastOnceDeliveryCrashSpec

* fixed issue with SnapshotDirectoryFailureSpec.LocalSnapshotStore_configured_with_a_failing_directory

* fixed Akka.Persistence.Tests.Actor_PipeTo_should_not_be_delayed_by_async_receive

* looks like issue might be related to parallel execution and thread blocking

* added logging for AtLeastOnceDelivery_must_tolerate_and_recover_from_random_failures
)

close akkadotnet#3724 - provided JSON constructor for Member

disabled serialization verification for internal `PublishChanges`
* fixed solution issues that prevented NuGet publication

* fixed last publish bug
…rt at the same time (akkadotnet#3817)

* part of akkadotnet#3786 - fixed issue with multiple specs all trying to use same Akka.Remote port at the same time

* updated specs to use Collections XUnit attribute instead

* use port 0 in all specs by default
* force RemotingSpecs to run sequentially

* marked two particularly bad specs as skipped

* Removed XUnit collection attribute

Don't need a collection anymore now that the entire test is run sequentially
* moving onto NBench v1.2.2

* added dotnet-nbench support

* fixed NBench run execution for .NET Framework
* force racy Akka.Persistence specs to run serially

* disabled AtLeastOnceDeliveryCrashSpec

* disabled Untyped version of already disabled ReceiveActor spec for AtLeastOnceDelivery
* disable parallelization for Akka.Streams.Tests

* skipped both of the A_Flow_with_SelectAsyncUnordered_must_not_run_more_futures_than_config specs

* disabled some more bad actors

* disabled more of the usual suspects

* more observable sink specs

* marking AggregateAsync with FlowAsync as skipped
* disabled some Akka.NET core specs

* Update ActorModelSpec.cs

* Update TailChoppingSpec.cs

* disabled racy BackoffSupervisorSpecs
…et#3744)

* fixed typo in RemoteActorRefProvider comment

* Working on akkadotnet#3414 - bringing SerializeWithTransport API up to par with JVM

* added spec to help validate CurrentTransportInformation issues

Based on the equivalent JVM spec

* working on bringing serialization up to snuff

* brought serialization class up to snuff

* wrapping up RmeoteActorRefProvider implementation

* WIP

* cleaning up Serialization class

* looks like there's a Lazy<SerializationInfo> translation from Scala to C# that we haven't quite done

* fixed Serialization class

* fixed bug with Akka.Remote.Serialization.SerializationTransportInformationSpec

* forced a couple of specs using default akka.remote configs to run sequentially

This was done in order to avoid the two specs trying to bind on the same port at the same time.

* added serialization verification to the Akka.Persistence.TCK

* fixed issues with default Akka.Perisstence.TCK specs

* fixed IActorRef serialziation support in Akka.Persistence journals and snapshot stores

* fixed compilation issuyes

* fixed Akka.Sql.Common serialization in a backwards-compatible fashion

* had to disable serialization specs for Sql Journals

* Added API approvals

* updated creator and serialize-all-messages serialization

* added ITestOutputHelper to Akka.Cluster.Sharding.Tests.SupervisionSpec

* made changes to LocalSnapshotSerializer

* fixed bug in WithTransport method

* updated Akka.Remote MessageSerializer
@Aaronontheweb Aaronontheweb mentioned this pull request Jul 30, 2019
@Aaronontheweb
Copy link
Member Author

Looks like I messed something up with the API Specs - NRE issue reading the files. I'll need to troubleshoot that before we can sync dev with master on this PR.

@Aaronontheweb
Copy link
Member Author

Had some racy test failure, but otherwise things look good. Going to let the MNTR finish on .NET Framework first.

@Aaronontheweb Aaronontheweb merged commit abd0d79 into akkadotnet:dev Jul 31, 2019
@Aaronontheweb Aaronontheweb deleted the v1.3.14-sync branch July 31, 2019 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.