MyGit

v1.14.2

dapr/dapr

版本发布时间: 2024-09-07 01:41:42

dapr/dapr最新发布版本:v1.13.6-rc.2(2024-09-28 02:00:05)

Dapr 1.14.2

Fix Memory Leak when running Workflows

Problem

When using workflows, daprd would increase in memory consumption indefinitely, eventually causing daprd to crash from a Out Of Memory Kill (OOM Kill),

Impact

Daprd would consume extra resources from the host, and periodically become unavailable and disrupt running tasks.

Root cause

The actor runtime in Daprd was not releasing memory of workflow actors, and the associated workflow state (history, inbox, etc.).

Solution

The actor runtime now correctly releases the workflow state once that workflow has reached a terminal state.

Fix nil map error on Placement Service state restore from an older version

Problem

When a Placement Service instance using on disk logs was upgraded to 1.14 in some cases we would get a nil map error and the instance would not start.

Impact

Dapr Placement Service instance would not start.

Root cause

Restoring the old format would override the state saved in Raft with a struct that wasn't properly initialised.

Solution

Initialize the struct properly when restoring the old format.

Fix non-URL encoded Kafka headers causing event delivery to fail over HTTP

Problem

When Kafka headers are present that are not URL encoded, the event delivery to the app will fail with a retriable error.

Impact

Messages cannot be delivered to the app.

Root cause

Lack of URL encoding on header values from Kafka.

Solution

Add URL encoding to Kafka headers.

Fix AWS Secret Manager and Parameter Store initialization

Problem

If users had IAM policies in place that only allowed access to specific secrets, the initialization of the AWS secret manager and parameter store components would fail.

Impact

Components could not be initialized.

Root cause

There was a redundant check in initialization that tried to read a random secret which caused the init to fail if a policy was present to only allow reading specific secrets.

Solution

The redundant check was removed.

Fix Kafka Avro validation for null values

Problem

When publishing a message containing a null byte array with Kafka and Avro validation enabled, the message would be rejected when it shouldn't be.

Impact

A message could not be sent.

Root cause

There was a missing validation logic for null byte arrays that would allow the message to continue processing.

Solution

The missing validation logic was added.

Fix Kafka edge case of lost messages upon process termination

Problem

In certain cases, Dapr would drop a Kafka message when it should have been retried if the daprd process is abruptly terminated.

Impact

A message would not be retried upon failure.

Root cause

Message processing logic moved on to process the next message instead of exiting when the session context was done.

Solution

The code was changed to handle session context exiting prior to processing the next message.

Fix Outbox not sending messages to the user topic

Problem

If outbox was being used and a publisher didn't have an app channel open or the subscriber didn't have access to the transactional state store, then outbox messages would not be published.

Impact

Outbox messages could not be sent.

Root cause

Faulty logic that required Dapr to have an app channel in order to subscribe to the internal topics.

Solution

Enable Dapr to subscribe to internal topics without needing an app channel.

相关地址:原始地址 下载(tar) 下载(zip)

1、 daprd_darwin_amd64.tar.gz 50.65MB

2、 daprd_darwin_amd64.tar.gz.sha256 92B

3、 daprd_darwin_arm64.tar.gz 44.58MB

4、 daprd_darwin_arm64.tar.gz.sha256 92B

5、 daprd_linux_amd64-stablecomponents.tar.gz 31.35MB

6、 daprd_linux_amd64-stablecomponents.tar.gz.sha256 108B

7、 daprd_linux_amd64.tar.gz 49.78MB

8、 daprd_linux_amd64.tar.gz.sha256 91B

9、 daprd_linux_arm-stablecomponents.tar.gz 29.15MB

10、 daprd_linux_arm-stablecomponents.tar.gz.sha256 106B

11、 daprd_linux_arm.tar.gz 42.14MB

12、 daprd_linux_arm.tar.gz.sha256 89B

13、 daprd_linux_arm64-stablecomponents.tar.gz 28.55MB

14、 daprd_linux_arm64-stablecomponents.tar.gz.sha256 108B

15、 daprd_linux_arm64.tar.gz 42.49MB

16、 daprd_linux_arm64.tar.gz.sha256 91B

17、 daprd_windows_amd64.zip 45.96MB

18、 daprd_windows_amd64.zip.sha256 90B

19、 grafana-actor-dashboard.json 20.55KB

20、 grafana-actor-dashboard.json.sha256 95B

21、 grafana-sidecar-dashboard.json 62.37KB

22、 grafana-sidecar-dashboard.json.sha256 97B

23、 grafana-system-services-dashboard.json 30.93KB

24、 grafana-system-services-dashboard.json.sha256 105B

25、 injector_darwin_amd64.tar.gz 12.51MB

26、 injector_darwin_amd64.tar.gz.sha256 95B

27、 injector_darwin_arm64.tar.gz 11.57MB

28、 injector_darwin_arm64.tar.gz.sha256 95B

29、 injector_linux_amd64.tar.gz 12.27MB

30、 injector_linux_amd64.tar.gz.sha256 94B

31、 injector_linux_arm.tar.gz 11.33MB

32、 injector_linux_arm.tar.gz.sha256 92B

33、 injector_linux_arm64.tar.gz 11.02MB

34、 injector_linux_arm64.tar.gz.sha256 94B

35、 injector_windows_amd64.zip 12.23MB

36、 injector_windows_amd64.zip.sha256 93B

37、 operator_darwin_amd64.tar.gz 13.24MB

38、 operator_darwin_amd64.tar.gz.sha256 95B

39、 operator_darwin_arm64.tar.gz 12.23MB

40、 operator_darwin_arm64.tar.gz.sha256 95B

41、 operator_linux_amd64.tar.gz 13.01MB

42、 operator_linux_amd64.tar.gz.sha256 94B

43、 operator_linux_arm.tar.gz 12.04MB

44、 operator_linux_arm.tar.gz.sha256 92B

45、 operator_linux_arm64.tar.gz 11.67MB

46、 operator_linux_arm64.tar.gz.sha256 94B

47、 operator_windows_amd64.zip 12.95MB

48、 operator_windows_amd64.zip.sha256 93B

49、 placement_darwin_amd64.tar.gz 11.67MB

50、 placement_darwin_amd64.tar.gz.sha256 96B

51、 placement_darwin_arm64.tar.gz 10.78MB

52、 placement_darwin_arm64.tar.gz.sha256 96B

53、 placement_linux_amd64.tar.gz 11.47MB

54、 placement_linux_amd64.tar.gz.sha256 95B

55、 placement_linux_arm.tar.gz 10.64MB

56、 placement_linux_arm.tar.gz.sha256 93B

57、 placement_linux_arm64.tar.gz 10.3MB

58、 placement_linux_arm64.tar.gz.sha256 95B

59、 placement_windows_amd64.zip 11.42MB

60、 placement_windows_amd64.zip.sha256 94B

61、 scheduler_darwin_amd64.tar.gz 13.97MB

62、 scheduler_darwin_amd64.tar.gz.sha256 96B

63、 scheduler_darwin_arm64.tar.gz 12.96MB

64、 scheduler_darwin_arm64.tar.gz.sha256 96B

65、 scheduler_linux_amd64.tar.gz 13.73MB

66、 scheduler_linux_amd64.tar.gz.sha256 95B

67、 scheduler_linux_arm.tar.gz 12.76MB

68、 scheduler_linux_arm.tar.gz.sha256 93B

69、 scheduler_linux_arm64.tar.gz 12.38MB

70、 scheduler_linux_arm64.tar.gz.sha256 95B

71、 scheduler_windows_amd64.zip 13.66MB

72、 scheduler_windows_amd64.zip.sha256 94B

73、 sentry_darwin_amd64.tar.gz 13.13MB

74、 sentry_darwin_amd64.tar.gz.sha256 93B

75、 sentry_darwin_arm64.tar.gz 12.15MB

76、 sentry_darwin_arm64.tar.gz.sha256 93B

77、 sentry_linux_amd64.tar.gz 12.88MB

78、 sentry_linux_amd64.tar.gz.sha256 92B

79、 sentry_linux_arm.tar.gz 11.87MB

80、 sentry_linux_arm.tar.gz.sha256 90B

81、 sentry_linux_arm64.tar.gz 11.57MB

82、 sentry_linux_arm64.tar.gz.sha256 92B

83、 sentry_windows_amd64.zip 12.82MB

84、 sentry_windows_amd64.zip.sha256 91B

查看:2024-09-07发行的版本