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

5755 Коммитов

Автор SHA1 Сообщение Дата
Reuben Bond 179f51f20f Test 2024-08-02 09:44:59 -07:00
Reuben Bond d9e8e4f203
Update nightly feed to point to dnceng (#9098) 2024-08-02 15:38:02 +02:00
Geir Fiksdal 4ff9f62bfa
F#: Fix code generation for enum style discriminated unions and for discriminated unions with 4 of more cases. (#9095) 2024-07-31 12:52:09 -07:00
Benjamin Petit e34a9b6390
Set GDN_SUPPRESS_FORKED_BUILD_WARNING to true (#9088) 2024-07-31 12:00:35 +02:00
Benjamin Petit 91f11f8260
Enable nightly on dnceng (#9091)
* Enable nightly on dnceng

* Fix feed value for dnceng

* Fix pool image for nightly
2024-07-30 17:50:10 +00:00
Benjamin Petit b3cfb3a30e
Update build for dnceng (#9086)
* Update build for dnceng

* Fix dependsOn

* Use AzurePipelinesCredential instead when running in azdo

* Fix dependsOn, again
2024-07-30 14:13:30 +02:00
rkargMsft 0de83d2c3d
Switch to pre-built Cassandra Docker image (#9076)
* Switch to pre-built Cassandra Docker image

Removed `Cassandra.dockerfile` and related custom image build code.
Updated `CassandraContainer.cs` to use a pre-built Cassandra image
from Docker Hub, specified by the `CASSANDRAVERSION` environment
variable.

* Matching category to run clustering tests

* Update .github/workflows/ci.yml

---------

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>
2024-07-25 10:30:07 +02:00
Reuben Bond 92e0bf3704
Allow GrainTimers to dispose themselves from their own callback (#9065) 2024-07-11 18:48:17 -07:00
Reuben Bond 77a187ed5b
StatelessWorker: pump work item queue consistently (#9064) 2024-07-11 16:17:30 -07:00
Reuben Bond 2af2970a0f
ActivationData: get IGrainActivator from shared components consistently (#9063) 2024-07-11 16:17:18 -07:00
Reuben Bond e19a1764bf
Promptly terminate AdaptiveDirectoryCacheMaintainer (#9062) 2024-07-11 15:20:52 -07:00
Reuben Bond a264ce0707
Coordinate shutdown of AdaptiveDirectoryCacheMaintainer with LocalGrainDirectory (#9061)
* Coordinate shutdown of AdaptiveDirectoryCacheMaintainer with LocalGrainDirectory

* Add README for how to run distributed tests locally.
2024-07-11 10:11:49 -07:00
Reuben Bond 8035ed932d
Replace custom GetHashCode implementations with HashCode.Combine (#9059) 2024-07-09 21:10:47 -07:00
Nikolai Sidorov e033fbd81b
MessagePack codec (#8546)
* MsgPack codec

---------

Co-authored-by: Nikolai Sidorov <nsidorov@microsoft.com>
Co-authored-by: ReubenBond <rebond@microsoft.com>
Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
2024-07-09 20:22:47 -07:00
Reuben Bond a85e3372bb
Activation repartitioner: use `null` for no-op message observer to avoid interface call (#9056) 2024-07-09 19:42:20 -07:00
Reuben Bond a44d4a33f9
Implement incoming grain call filters for observers (#9054) 2024-07-09 18:58:34 -07:00
Reuben Bond 6ff7edcc06
Fix flaky `Should_ConvertAllRemoteCalls_ToLocalCalls_WhileRespectingTolerance` test (#9058) 2024-07-09 14:03:50 -07:00
Zach Barrier ca85acebdc
[Orleans.EventSourcing] Fix double-increment in `RemoveStaleConditionalUpdates` (#8623) 2024-07-08 13:37:04 -07:00
Christian Corsano 817eb5ebe7
Support implementing multiple IConverter<,> in single converter class (#8881)
---------

Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
2024-07-08 13:23:43 -07:00
Vincent Costel 4cfa850d4c
Fix for Recorded flag not propagated between activities (#9016) 2024-07-08 13:15:06 -07:00
rkargMsft fc9937e76d
Cassandra Clustering implementation (#8925)
---------

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>
Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
2024-07-08 13:12:25 -07:00
Geir Fiksdal a368d51b83
Adding codec to serialize F# Unit (#9039) 2024-07-08 10:28:45 -07:00
Vincent Costel 45863b0db9
Fix Reminders and Grain directory Aspire providers registration (#9045) 2024-07-08 09:06:14 -07:00
Georgy Krasin 3f939951a0
Fix leaking timed-out callbacks in InsideRuntimeClient (#9041)
* Fix leaking timed-out callbacks in InsideRuntimeClient

---------

Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
2024-07-08 08:46:46 -07:00
Ledjon Behluli 11a23121c1
Activation Repartitioning (#8877)
---------

Co-authored-by: Ledjon Behluli <Ledjon@notiphy.io>
Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
2024-07-05 17:08:23 -07:00
Reuben Bond c305b503f8
Non-reentrant grain timers (#8955) 2024-07-03 07:57:00 -07:00
Jorge Gomez 5c53fe76ba
Avoid logging error monitoring k8s pods on restart (#9048)
* feat: avoid logging error monitoring k8s pods on restart

* Update src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>

---------

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>
2024-07-02 11:52:48 -07:00
Ledjon Behluli 7328b28f47
Add support for MayInterleave in StatelessWorker (#9050)
Co-authored-by: Ledjon Behluli <Ledjon@notiphy.io>
2024-07-01 08:27:29 -07:00
Reuben Bond c76b4431a5
Fix nightly package publishing NuGet path (#9040)
* Fix nightly nuget path

* Bump nightly version
2024-06-11 11:47:06 -07:00
Ledjon Behluli c56d27c36b
Allow custom back-off providers for `PersistentStreamPullingAgent` (#9035)
* Adds support for configuring backoff providers from client code

* code conventions & xml docs

---------

Co-authored-by: Ledjon Behluli <Ledjon@notiphy.io>
2024-06-05 10:37:26 -07:00
Benjamin Petit bf2fb16d52
Remove Orleans.Streaming.GCP (#9031)
* Remove Orleans.Streaming.GCP

* Remove GoogleUtils.Tests
2024-06-02 08:39:28 -07:00
Reuben Bond 6f1ffeeeba
Add support to JSON codecs to serialize their generic JSON types (#9033) 2024-06-02 08:38:55 -07:00
Reuben Bond f6659d9665
Normalize MaxAvailableMemory based on other candidates. Add ActivationCountWeight to options (#9028) 2024-05-31 07:26:30 -07:00
Manuel Menegazzo 47b29f83e0
Added #pragma warning disable CS1591 to supress warnings in the source generated code (#8940)
* Added  #pragma to supress warning CS1591

* Roslyn-native way to add pragma warnings

* Added check for empty namespace and attribute list

* Updated warnings implementation
2024-05-30 07:30:25 -07:00
Benjamin Petit 559b95e8d1
Update Microsoft.Build dependency and Force System.Drawing.Common version because of MySql.Data (#9029) 2024-05-30 16:00:18 +02:00
Benjamin Petit 5e930f908f
In Azure Tests, use ConfigureTestDefaults where possible to use Entra ID (#9027) 2024-05-29 22:17:32 +02:00
Benjamin Petit 8a288f1ef5
Mark Orleans.Streaming.AdoNet as alpha (#9022) 2024-05-29 21:46:47 +02:00
Reuben Bond 061f1e5b9b
Avoid changing soon-to-be-deprecated RegisterTimer method return type (#9020) 2024-05-24 06:37:02 -07:00
Ledjon Behluli 1d3f7d0154
Brings back support for `StringData` in ATS provider (#8965)
* brings back support for StringData in AzureTS

* changed property from 'UseJson' to 'UseStringFormat' + added test to check if 'UseStringFormat' works correctly.

* added 'InvalidOperationException' to check for [useStringFormat && !useJson]

---------

Co-authored-by: Ledjon Behluli <Ledjon@notiphy.io>
2024-05-23 11:17:31 -07:00
Jorge Candeias fd892118fd
ADO.NET Streaming Provider (#8974)
* Added Orleans.Streaming.AdoNet project skeleton

* Added Streaming Artefacts

* Added Streaming Artefacts

* Added Orleans.Streaming.AdoNet project skeleton

* Added Streaming Artefacts

* Added Streaming Artefacts

* Added tests

* Added tests

* Added tests

* Added AdoNetQueueDataAdapter

* Added adonet streaming artefacts

* Added tests

* Added tests

* Added AdoNetQueueAdapter

* Added stream configurators

* Refactored

* Added AdoNetQueueAdapterFactory

* Added AdoNetStreamFailureHandler

* Added tests

* Added tests

* Added tests

* Refactored

* Added tests

* Added tests

* Added tests

* Added tests

* Refactored

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Refactored

* Refactored

* Refactored

* Refactored

* Configured defaults

* WIP Sweeping

* Refactored

* Reverted

* Refactored

* Refactored

* Added error handling

* Refactored

* Wired up options validator

* Fixed ArgumentOutOfRangeException thrown from PeriodicTimer

* Refactored

* Refactored

* Refactored

* Refactored

* Added tests

* Cleanup

* WIP Scripts

* Added MariaDB/MySQL scripts

* Added tests

* Upgraded Npgsql package with vulnerability warning.
Upgraded MySql.Data to fix connection pool deadlock: https://bugs.mysql.com/bug.php?id=114272
Upgraded Microsoft.NET.Test.Sdk to stable release version.

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added safety timeout

* Fixed test

* Fixed "DROP DATABASE cannot be executed within a pipeline" issue for latest  PostgreSQL

* Added PostgreSQL scripts

* Added tests and refactored

* Refactored

* Refactored

* Fixed argument types

* Added check to flaky test

* Flaky test

* Fixed flaky tests

* Clearing pools in MySQL tests

* Removed READPAST to address flakiness

* Removed SKIP LOCKED to address flakiness

* Added benchmark

* Added benchmark

* Updated benchmark

* Updated benchmarks
2024-05-23 20:02:30 +02:00
Alireza Habibi 71ea69e852
Consider interface method accessibility when generating the invoker (#9019) 2024-05-22 08:13:18 -07:00
Alireza Habibi 63236c3740
Exclude explicitly implemented interface methods from proxy (#8992)
* Exclude ExplicitInterfaceImplementation methods

* Add comments to test types and rename to suit

---------

Co-authored-by: ReubenBond <rebond@microsoft.com>
2024-05-21 19:49:25 -07:00
Reuben Bond 3d7343e1c1
Improve `ActivationData` shutdown process (#9018)
* Fix termination condition in ActivationMigrationManager.AcceptMigratingGrains

* Improve ActivationData shutdown process

* Use file-scoped namespaces in ActivationData
2024-05-21 16:54:26 -07:00
Reuben Bond ee665108b0
Fix termination condition in ActivationMigrationManager.AcceptMigratingGrains (#9017) 2024-05-21 16:20:26 -07:00
Reuben Bond 488b2db1f2
Fix perf of PooledBufferTests (#9015) 2024-05-20 15:17:39 -07:00
Reuben Bond 15d2404163
Fix silo shutdown logging when silo is already shutting down. (#9013) 2024-05-20 07:43:53 -07:00
Reuben Bond 8b0cb0409f
[CodeGen] Always specify grain extension interface for grain extension calls (#9009)
* RPC: ensure grain extension calls always include the concrete extension interface, not the original interface

* Always use explicit interface implementations in generated grain references

* Add nullability annotations for IGrainCallContext

* Remove dead code
2024-05-17 11:52:57 -07:00
Reuben Bond ef9f20efa4
Update samples README.md to point to samples repo & explorer (#9010) 2024-05-17 09:15:56 -07:00
Benjamin Petit 9e36fcd5ed
Fix streaming config validator registration (#8876) 2024-05-17 17:11:05 +02:00
Reuben Bond a602e92500
Updatable grain timers (#8954) 2024-05-16 13:26:39 -07:00