Граф коммитов

5618 Коммитов

Автор SHA1 Сообщение Дата
Ismael Hamed 8bb424ead1
Minor fix to the ShardRegion buffer capacity log (#4498) 2020-07-07 12:56:05 -05:00
Ismael Hamed ad0c00c419
Cluster event listener that logs all events (#4502) 2020-07-07 12:54:24 -05:00
Gregorius Soedharmo 5c19ec833b
Cluster.Join fails when called asynchronically when SerializeAllMessages is set (#4488)
* Serializer failed to serialize CurrentClusterState when SerializeAllMessages was set.

* Serializer failed to serialize CurrentClusterState when SerializeAllMessages was set.

* Use defensive coding to prevent exception from being thrown from duplicate key insertion (#4489)

* Revert serialization to prefer INoSerializationVerificationNeeded instead.

* Update API approval list

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-06-26 12:02:24 -05:00
tometchy c42a309065
Fix typo in Akka Streams configuration doc (#4492) 2020-06-26 12:01:19 -05:00
Gregorius Soedharmo 08cc002a7f
Fix CPU utilization regression due to .NET SDK regression (addedum) (#4491)
* Upgrade donet SDK to 3.1.105

* Forgot to update the .NET SDK version in the Linux build script
2020-06-23 09:52:57 -05:00
Gregorius Soedharmo ee0169116d
Use defensive coding to prevent exception from being thrown from duplicate key insertion (#4489) 2020-06-22 21:52:29 -05:00
Kevin Preller fe533854d6
SqlJournal: Fixed updating the _persistenceIdSubscribers dictionary when adding a subscriber as described in #4485 (#4486)
Co-authored-by: Kevin Preller <kevin.preller@wmit.biz>
2020-06-22 22:52:51 +07:00
Aaron Stannard 0954f44478
Update RELEASE_NOTES.md 2020-06-17 15:16:14 -05:00
Aaron Stannard f43f37048f
added v1.4.8 release notes (#4478) 2020-06-17 15:05:08 -05:00
dependabot-preview[bot] 8762958db4
Bump Hyperion from 0.9.15 to 0.9.16 (#4477)
Bumps [Hyperion](https://github.com/akkadotnet/Hyperion) from 0.9.15 to 0.9.16.
- [Release notes](https://github.com/akkadotnet/Hyperion/releases)
- [Changelog](https://github.com/akkadotnet/Hyperion/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/Hyperion/compare/0.9.15...0.9.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-17 15:02:24 -05:00
Aaron Stannard 21736fdc90
Idle CPU fixes (#4476)
* added performance counter support to scheduler

* Revert "added performance counter support to scheduler"

This reverts commit 772387e3f1.

* disable dot-netty batching via hard-coding

* added spec to validate overriding default settings

* Revert "disable dot-netty batching via hard-coding"

This reverts commit cfd1f2603d.

* remove batching stage in its entirety if batching is disabled
2020-06-17 14:37:40 -05:00
Aaron Stannard 75927250ed
Fix/4434 idle cpu - removing unused #if compile time conditionals (#4438)
* cleaned up IFDEFs for Full trust thread pool execution

* removed some more IFDEF code

* cleaned up more IFDEFs

* Revert "cleaned up more IFDEFs"

This reverts commit 1345aacab9.

* Revert "removed some more IFDEF code"

This reverts commit b2b9f42849.
2020-06-17 13:50:12 -05:00
Ismael Hamed 5e559f778d
Backport of the feature called ClusterDistribution in Lagom (#4455) 2020-06-17 09:13:16 -05:00
Gregorius Soedharmo d76f406dc0
Upgrade donet SDK to 3.1.105 (#4475) 2020-06-16 19:31:06 -05:00
Aaron Stannard d7d8df4f56
added spec to validate programmatic ActorSystem override (#4473)
* added spec to validate programmatic ActorSystem override

* ported over ProviderSelectionSpecs

* fixed bug with Settings
2020-06-16 09:11:07 -05:00
Bartosz Sypytkowski 8bc2a1cf7d
Changed Akka.Streams backoff error logging to include full exception message (#4472)
* Changed Akka.Streams backoff error logging to include full exception message

* Use dedicated warning message for exceptions
2020-06-16 09:10:50 -05:00
dependabot-preview[bot] 3a6ddc89d8
Bump Google.Protobuf from 3.12.2 to 3.12.3 (#4452)
Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.12.2...v3.12.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-11 08:35:14 -05:00
dependabot-preview[bot] 60b553798f
Bump FsCheck.Xunit from 2.14.2 to 2.14.3 (#4469)
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.14.2 to 2.14.3.
- [Release notes](https://github.com/fsharp/FsCheck/releases)
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md)
- [Commits](https://github.com/fsharp/FsCheck/compare/2.14.2...2.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-10 18:25:08 -05:00
dependabot-preview[bot] 08d3b9552f
Bump Microsoft.Data.SQLite from 3.1.4 to 3.1.5 (#4468) 2020-06-10 13:12:20 +00:00
dependabot-preview[bot] be7ec95f0b
Bump FsCheck from 2.14.2 to 2.14.3 (#4467) 2020-06-10 13:02:12 +00:00
dependabot-preview[bot] 5a62272d76
Bump Microsoft.Extensions.DependencyModel from 3.1.4 to 3.1.5 (#4466) 2020-06-10 12:52:14 +00:00
Aaron Stannard dd90e05d2a
added ActorSystemSetup overload for TestKits (#4464)
* added ActorSystemSetup overload for TestKits

* added overload to AkkaSpec

* fixed issue with configuration merge
2020-06-09 10:45:35 -05:00
Aaron Stannard d7c8c851e7 Update pr-validation.yaml for Azure Pipelines 2020-06-08 13:55:05 -05:00
Aaron Stannard b49123fb50
Add PR validation support for feature/* branches (#4461) 2020-06-08 13:01:26 -05:00
Ismael Hamed c0affa7785
Mute deadletter logging of cluster events (#4456) 2020-06-08 09:32:09 -05:00
dependabot-preview[bot] 48ce8e923e
Bump Google.Protobuf from 3.12.1 to 3.12.2 (#4445) 2020-06-03 15:55:37 +00:00
Gregorius Soedharmo 27ecc47391
Fix dotnet SDK to 3.1.100 on all Azure Pipelines script (#4450) 2020-06-03 08:28:03 -05:00
Aaron Stannard d69ddd06c0
added v1.4.8 placeholder for nightlies 2020-05-26 20:23:57 -05:00
Aaron Stannard eb174173f8
added v1.4.7 release notes (#4441) 2020-05-26 20:13:12 -05:00
Gregorius Soedharmo 00e084e769
Move LMDB into release version (#4442)
* Remove Akka.DistributedData.LightningDB Beta status

* Add reference to `Akka.DistributedData.LightningDB` in `Akka.Cluster.Sharding` project file
2020-05-26 20:02:05 -05:00
Aaron Stannard 4edd7c4b1b
close #4288 - DData is no longer in beta (#4440) 2020-05-26 15:37:10 -05:00
Gregorius Soedharmo 596baa6e33
Update attributes (#4437)
* Fix documentations

* Minor bug fixes

* Introduce IMandatoryAttribute

* Upgrade IAttribute to IMandatoryAttribute for old codes

* Update comments

* Fix parsing bug

* Add obsolete attribute

* Add GetMandatoryAttribute

* Implement IsAsync helper property

* Implement CancellationStrategy Attribute

* Implement DebugLogging Attribute

* Implement StreamSubscriptionTimeout Attribute

* Implement OutputBurstLimit Attribute

* Implement FuzzingMode Attribute

* Implement MaxFixedBufferSize Attribute

* Implement CreateSyncProcessingLimit Attribute

* Update SubscriptionTimeout Attribute

* Implement BufferCapacity Attribute

* Implement DemandRedeliveryInterval Attribute

* Implement FinalTerminationSignalDeadline Attribute

* Update API approval list
2020-05-26 14:37:21 -05:00
Igor Fedchenko a155dcc678
Make loggers to not block ActorSystem creation (#4424)
* enable loggers to start asynchronously

close #4054

* Refactored and optimized loggers addition

* Using Task.Run to start background task with thread context capture

* Rollback from async Ask to blocking Result after Task.Run

* Moved async loggers to settings, disabled by default

* Use async API when possible inside logger creation task

* Renamed new logger setting to LoggerAsyncStart

* Removed async/await use in logger creation

* Return old Ask implementation

* Enabled async loggers start by default

* Added API approvement

* Added new setting spec (passing)

* Fixed LoggerSpec

* Included akka.logger-async-start into reference akka.net configuration

* Fixed/disabled racy specs

* Enabled setting by default

* Disabled setting by default

* Disabled racy/hanging specs

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-05-26 09:39:39 -05:00
gantokun deb0348b97
Update finite-state-machine.md (#4435)
Fixed lines references to .cs files of the "A Simple Example" paragraph
2020-05-26 07:53:56 -05:00
Aaron Stannard 1772edbb35
Implement ActorSystemSetup (#4428)
* close #4426 - implement ActorSystemSetup

Co-authored-by: Gregorius Soedharmo <arkatufus@yahoo.com>
2020-05-25 11:33:33 -05:00
dependabot-preview[bot] 953905b79c
Bump System.Collections.Immutable from 1.7.0 to 1.7.1 (#4411) 2020-05-22 22:16:16 +00:00
Gregorius Soedharmo 37ea7fc139
Change the SinkRef documentation temporarily until we can fix serialization (#4431) 2020-05-22 14:38:37 -05:00
dependabot-preview[bot] 8a21ce7e64
Bump Google.Protobuf from 3.11.4 to 3.12.1 (#4423)
Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.11.4 to 3.12.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.11.4...v3.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 12:33:45 -05:00
dependabot-preview[bot] 200a0fcf87
Bump FSharp.Core from 4.7.1 to 4.7.2 (#4429) 2020-05-22 15:52:48 +00:00
Gregorius Soedharmo 5d5d7cbe33
Unit test hardening, skip flaky specs if it can't be trivially fixed. (#4427)
* Skip racy specs
2020-05-21 18:27:22 -05:00
Gregorius Soedharmo 1452a588a1
Fix MNTK ddata DurableDataSpec (#4416)
* Add manifest getter by Type

* add SelfUniqueAddress to Akka.DistributedData, wrapper of Akka.Cluster.UniqueAddress

* Modify reference.conf to match scala Akka

* separate error checking into 2 parts to make exception message clearer

* Add reference to LightningDB to ddata MNTK project (will need to move to reference to ddata later)

* Modify test setup to match scala Akka

* Modify first unit test to make sure that test setup works with MNTK

* Fix test flakiness

* Fix deserialize code

* Make DurableDataSpec LMDB use the current system temporary folder

* Remove orphaned code

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-05-18 13:15:19 -05:00
Gregorius Soedharmo 299b9a201b
standardize LMDB wire format (#4414)
* Update protobuff proto file

* Recompile ReplicatorMessages.g.cs

* Fix how Replicator load DurableDataEnvelope

* Update how Gossip is serialized

* Update how Gossip is deserialized

* Update how Status is serialized

* Update how Status is deserialized

* Update how DurableDataEnvelope is serialized

* Update how Get is serialized

* Update how Get is deserialized

* Update how Write is serialized

* Update how Write is deserialized

* Update how Read is serialized

* Revert "Update how Read is serialized"

This reverts commit f68c6b1905.

* Update how Read is serialized

* Update how Read is deserialized

* Update Write class

* Update Read class

* Update Status class

* Update Gossip class

* Update DurableDataEnvelope class

* Update ReplicatorMessageSerializerSpec

* Change ReplicatorMessage classes from public to internal

* Update approved API list

* Modify LmdbDurableStorage to work with DurableDataEnvelope serialize/deserialize

* no message

* Revert back to C# 7.8, fix LMDB implementation

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-05-18 10:08:19 -05:00
Gregorius Soedharmo 1b2489825f
Unit test hardening (#4405)
* Add RepeatAttribute to easily repeat a unit test multiple times to test for test flakiness

* Harden ORMultiValueDictionary DeltaValue test, memory leak and flaky test

* Flaky `Flow Throttle` spec, test fails when there are not enough CPU resource.

* Fix Flow Delay specs

* One of Akka.Tests.Actor.Scheduler might be racy/flaky

* Remove RepeatAttribute

* Add documentation to RepeatAttribute

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-05-15 11:45:48 -05:00
Gregorius Soedharmo 95dc3e080e
Harden _currentMessageId from integer overflow. (#4413) 2020-05-14 10:48:15 -05:00
dependabot-preview[bot] 7b5734fd72
Bump Microsoft.Data.SQLite from 3.1.3 to 3.1.4 (#4410) 2020-05-13 21:53:00 +00:00
dependabot-preview[bot] a53c0aac73
Bump Microsoft.Extensions.DependencyModel from 3.1.3 to 3.1.4 (#4412) 2020-05-13 16:51:54 +00:00
Chris Barker 96e24ae456
fix: improve doc for persistenceId for sharded entity actor (#4409) 2020-05-12 16:03:16 -05:00
Aaron Stannard 5953e919f0
Added v1.4.7 placeholder for nightly builds 2020-05-12 14:03:29 -05:00
Aaron Stannard da7b07a9f1
Added v1.4.6 release notes (#4407) 2020-05-12 13:44:12 -05:00
Gregorius Soedharmo 0567a19f3d
Add run-by-actor-system-terminate configuration support. (#4402)
* Add run-by-actor-system-terminate configuration support.

* Fix spec with illegal configurations

* Add API approval spec

* Make spec config more clear

* Change `Reason` Instance static field to readonly

* Update API approval list

* Add documentation

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-05-12 12:58:56 -05:00