Merge release-1.15 (v1.15.1) to master#8543
Merged
Merged
Conversation
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Luis Rascao <[email protected]>
security: allow override of trust anchors
Update state store actor reminder engine to lock evaluation during drain events, and give a 2 second grace period concurrently to all currently active reminders to complete before completing dissemination. Signed-off-by: joshvanl <[email protected]>
Signed-off-by: joshvanl <[email protected]>
* Workflow: default max parallel items to 1000 Up the number of work items which can be run in parallel from 100 to 1000 Signed-off-by: joshvanl <[email protected]> * Fix unit test for new default max parallel work items value Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: joshvanl <[email protected]> Co-authored-by: Yaron Schneider <[email protected]>
Signed-off-by: joshvanl <[email protected]>
Signed-off-by: joshvanl <[email protected]>
Signed-off-by: joshvanl <[email protected]>
Remove memory leak whereby workflow actor objects were not be pruned from the actor table slice. After an activity fires, delete the object from the actor table. When a workflow reaches a terminal state or is purged, remove it from the actor table. Signed-off-by: joshvanl <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
Actors: State store actor reminder drain wait group
Workflows: CRUD API sync
Updates scheduler for ETCD to run with mTLS between hosts. Updates
sentry to make dapr-scheduler identity certificates to be signed with
`dapr-scheduler.${ns}.svc` DNS. Updates ETCD embeded config to use mTLS
on this DNS when mTLS is enabled.
Signed-off-by: joshvanl <[email protected]>
Signed-off-by: joshvanl <[email protected]>
Signed-off-by: joshvanl <[email protected]>
Signed-off-by: yaron2 <[email protected]>
Signed-off-by: yaron2 <[email protected]>
Signed-off-by: yaron2 <[email protected]>
Fix workflow engine starting when actor runtime is disabled
Signed-off-by: Fabian Martinez <[email protected]>
fix workflow name empty on first event
* golang.org/x/crypto: update to v0.35.0 Signed-off-by: joshvanl <[email protected]> * mod tidy all Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: joshvanl <[email protected]>
Signed-off-by: Fabian Martinez <[email protected]> Co-authored-by: Josh van Leeuwen <[email protected]>
unmarshal to string Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Josh van Leeuwen <[email protected]> Co-authored-by: Dapr Bot <[email protected]>
Signed-off-by: yaron2 <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
* release: add notes Signed-off-by: Mike Nguyen <[email protected]> * release: update rust sdk notes and add dapr workflow method deprecation notice Signed-off-by: Mike Nguyen <[email protected]> * release: update componentscontrib and go-sdk notes Signed-off-by: Mike Nguyen <[email protected]> * release: add rust highlight Signed-off-by: Mike Nguyen <[email protected]> * release: bump notes Signed-off-by: mikeee <[email protected]> * release: bump Signed-off-by: Mike Nguyen <[email protected]> * release: bump relnotes Signed-off-by: Mike Nguyen <[email protected]> * release: bump notes Signed-off-by: Mike Nguyen <[email protected]> * release: bump notes Signed-off-by: Mike Nguyen <[email protected]> * release: bump docs Signed-off-by: Mike Nguyen <[email protected]> * release: docs bump Signed-off-by: Mike Nguyen <[email protected]> * release: update docs Signed-off-by: Mike Nguyen <[email protected]> * release: fix links Signed-off-by: Mike Nguyen <[email protected]> --------- Signed-off-by: Mike Nguyen <[email protected]> Signed-off-by: mikeee <[email protected]>
* add missing grpc call options when invoking actors Signed-off-by: yaron2 <[email protected]> * adds release notes + changes options struct Signed-off-by: yaron2 <[email protected]> * remove redundant struct Signed-off-by: yaron2 <[email protected]> * Adds integration test for max-body-size for actor invocation Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: yaron2 <[email protected]> Signed-off-by: joshvanl <[email protected]> Co-authored-by: joshvanl <[email protected]>
* [v1.15] Actors: Don't sent Reentrancy ID header when disabled Fix sending Actor Reentrancy ID HTTP header when disabled Problem Calling `this.StateManager.TryGetStateAsync()` in the DotNet Actor SDK would return stale data during some invocation scenarios. Impact The latest Actor state data was not being correctly returned during some Actor invocation scenarios using the DotNet Actor SDK. Root cause When Reentrancy was disabled, the Actor Reentrancy ID HTTP header was still being sent to Actor HTTP servers. The DotNet SDK uses the existence of this HTTP header in logic to determine what state should be returned to the Actor. Solution Don't send the Actor Reentrancy ID HTTP header (`"Dapr-Reentrancy-Id"`) when Reentrancy is disabled. Signed-off-by: joshvanl <[email protected]> * Fix actor call placement lock due to reentrancy ID HTTP header. Remove reentancy ID HTTP header check from placement lock during actor calls. Since we always added the reentrancy ID header in v1.15.0, `isReentrancy` bool was always true, so `!isReentrancy` was always false- a no-op to the OR statement. This was added before other changes were made to the actor locking system, but since it was a no-op, it was never caught and removed. Now the reentrancy ID header is (correctly) optionally added to keep backwards compatibility, and the previous actor engine state this check was catering for no longer exists, this check actually breaks the runtime. Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: joshvanl <[email protected]>
…#8546) * [v1.15] Actors: Always attempt to connect to placement if configured. Fixes a regression whereby daprd would no longer connect to placement if an Actor state store is not configured. This meant an app which did not have an actor state store configured (& host Actors), could not invoke Actors on other apps. Update daprd to always start Placement and the Actor runtime if Placement addresses are configured. Adds integration test for this scenario. Adds metadatda integration tests. Signed-off-by: joshvanl <[email protected]> * Move actor store registration on state store existing Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: joshvanl <[email protected]>
This update includes bug fixes: - [Fix Scheduler memory leak](#fix-scheduler-memory-leak) Fix Scheduler memory leak Problem Scheduler would continually grow in memory during usage. Impact Scheduler would consume the entirety of memory on the host machine, or to it's cgroup limit, then OOM crash. Root cause A Go routine was doing being closed on connection sends. Solution Correctly close the Go routine on completion of the connection send. Signed-off-by: joshvanl <[email protected]>
Dapr 1.15.3 This update includes bug fixes: - [Fix Timers Deactivating after timer invocation fails](#fix-timers-deactivating-after-timer-invocation-fails) Fix Timers Deactivating after timer invocation fails Problem An app returning a non-2xx status code from a timer invocation would cause a periodic timer to no longer trigger. Impact An Actor app which restarted/crashed, or was otherwise busy, would cause a timer to no longer trigger. This breaks backwards compatibility where a periodic Actor timer would continue to trigger at the defined period, even if the actor was busy or had an error. Root cause The Actor timer handle logic deactivates the timer if _any_ timer invocation failed. Regardless of whether the timer had further ticks defined in it's period schedule. Solution As did before v1.15.0, treat any successful or failed timer invocation as the same, and tick the Actor timer forward allowing for future invocations. Signed-off-by: joshvanl <[email protected]>
yaron2
approved these changes
Mar 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge release-1.15 (v1.15.1) into master after latest release.