Releases: cadence-workflow/cadence
Releases · cadence-workflow/cadence
v1.3.4
What's Changed
Added
- Introduce predicate to virtual slice state to support task filtering by @Shaddoll in #7091
- Use new IDL package for query consistency level changes by @c-warren in #6791
- Introduce feature flag to enable authv2 by @sankari165 in #7096
- Add thrift_snappy endoding by @tubignat in #7089
- [shard-distributor] Executor metrics by @jakobht in #7100
- [active-active] Handle continue-as-new by @taylanisikdemir in #7102
- Add helper functions for predicates by @Shaddoll in #7098
- [shard-distributor] Expose Heartbeat API on the backend by @3vilhamster in #7101
- Add query consistency level support to CLI workflow commands by @c-warren in #7099
- Grafana Dashboard for Cadence Archival by @vishwa-uber in #7104
- Grafana dashboard for History v2 by @vishwa-uber in #7106
- Add TrySplitbyPredicate method to virtual slice by @Shaddoll in #7109
- [shard-distributor] Add metered wrapper around store by @3vilhamster in #7110
- [shard-distributor] shard owner by @3vilhamster in #7112
- Add always upload artifacts and test fail by @mandyschen in #7122
- Add debugs logs for processing new tasks by @Shaddoll in #7124
- Support building wildcard query by @neil-xie in #7105
[active-active] Add a new simulation scenario with queuev2 by @taylanisikdemir in #7126 - Track pending task count per domain by @Shaddoll in #7128
- [active-active] Emit workflow cluster/failoverversion lookup request metrics by @taylanisikdemir in #7129
- Add helper methods to virtual queue for split operation by @Shaddoll in #7130
- Added development setup to the shard distributor so we can do local testing of it by @jakobht in #7134
- Log failed scan requests to help debug by @neil-xie in #7132
- Scaffold mitigator for history queue v2 by @Shaddoll in #7133
Changed
- Better lifecycle management in the shard executor library by @jakobht in #7095
- [shard-distributor] Refactor storage and provide heartbeat storage API by @3vilhamster in #7090
- Support decoding cluster selection policy payload in cli by @taylanisikdemir in #7115
- [shard-distributor] AssignShards method fills ownership of the shards by @3vilhamster in #7114
- [shard-distributor] Change the configuration name by @3vilhamster in #7117
- [shard-distributor] Connect handler to the storage by @3vilhamster in #7118
- Use different task retry policy for active and standby tasks in history queuev2 by @Shaddoll in #7108
- We now use a raw tally scope for the client by @jakobht in #7119
- Update merge virtual slices to support merging slices with different predicates by @Shaddoll in #7120
- [active-active] ListDomains shouldn't fill ActiveClusterName with current cluster by @taylanisikdemir in #7137
- [active-active] Switch to queuev2 by @taylanisikdemir in #7138
- Update change log for release v1.3.3 by @neil-xie in #7139
Fixed
- Fix standby task processing for history queue v1 by @Shaddoll in #7121
- Make sure that task backlog metric is emitted in each gettaskspump run by @Shaddoll in #7123
- [active-active] Fix failover version updates during failover by @taylanisikdemir in #7125
- Fixed the startup so it does not depend on the fx timeout by @jakobht in #7127
- Fix task priority assigner for history queue v2 by @Shaddoll in #7131
- [active-active] Fix active cluster lookup in request forwarding layer by @taylanisikdemir in #7136
Removed
- [shard-distributor] Executor cleanup removes shard ownership information by @3vilhamster in #7113
Full Changelog: v1.3.3...v1.3.4
v1.3.4-prerelease09
Changes since v1.3.4-prerelease08
Features & Improvements
- Makes the option to pass in a GoCQL connection public (#7154)
- Exposes constructor for Cassandra DB instance tooling use (#7153)
- Implement handler for queue pending task count alert (#7150)
Bug Fixes & Reliability
- Fix thrift decode test flakyness (#7160)
- Catch scroll node not found exception and start fresh scroll (#7155)
Testing & CI
- Run replication simulation scenarios as part of CI (#7158)
- Test reapply events active-active logic (#7135)
Infrastructure
v1.3.3
What's Changed
Added
- Add metrics to queue v2 tracking the number of pending tasks by @Shaddoll in #7002
- Cluster redirection e2e tests by @taylanisikdemir in #7007
- Add CronOverlapPolicy to CQL commands in Update/Create WorkflowExecution by @timl3136 in #7010
- Add pull request support for the buildkite to github actions migration by @mandyschen in #7009
- Add Ephemeral TaskLists by @natemort in #7017
- Add more metrics for history task processing by @Shaddoll in #7022
- add docker-compose for filestore archiver by @shijiesheng in #7032
- Add Integration Tests to Test Cron Overlap Policy and fix missing mapping for CronOverlapPolicy by @timl3136 in #7012
- VISIBILITY_ARCHIVAL_STATUS setup for archival filestore by @vishwa-uber in #7043
- [active-active] Support CLI operations for active-active domains by @taylanisikdemir in #7049
- [shard-distributor] Added proto file for the shard distributor executor API by @jakobht in #7057
- [shard-distributor] Add assign shards loop to the leader elected process by @3vilhamster in #7056
- [shard-distributor] Added a client interface for the shard distributor executors by @jakobht in #7065
- [shard-distributor] Add heartbeat cleanup loop by @3vilhamster in #7064
- [shard-distributor] Add metrics for assing loop by @3vilhamster in #7066
- Cadence LLM Friendly Rule File by @jayne-s in #7051
- Add active-active basic simulation as CI job by @taylanisikdemir in #7072
- Active-passive to active-active domain migration support by @taylanisikdemir in #7071
- [scripts] Introduce a script that will create release/prerelease by @3vilhamster in #6954
- Add cronOverlapPolicy and activeClusterSelectionPolicy to mapping functions in replication and mutable statue builder by @timl3136 in #7086
- Created executer client SDK as an fx module by @jakobht in #7074
- [authz] Introduce new type of permissions for poll APIs by @sankari165 in #7077
- add unit test for not like query in custom search attributes by @shijiesheng in #7084
Changed
- [active-active] Update replication simulation by @taylanisikdemir in #7003
- [active-active] Update new workflow lookup interface by @taylanisikdemir in #7005
- Cancel history tasks when queue is stopped by @Shaddoll in #7004
- Create CI check jobs in github actions by @mandyschen in #6946
- Pause history queue task loading if there are too many pending tasks by @Shaddoll in #7008
- Implement TaskListStatus.empty and DescribeTaskListReponse.TaskList by @natemort in #7016
- [shard-distributor] Rework fx initialization to self register routes in the rpc.Factory by @3vilhamster in #7011
- Do not stop root virtual queue by @Shaddoll in #7019
- minor: use t.fatal in fuzz tests by @Groxx in #7020
- [active-active] Cluster redirection for active-active domain requests by @taylanisikdemir in #7006
- Use TaskListStatus.Empty to determine if a partition is empty by @natemort in #7026
- Update history simulation test and integration tests to use file based dynamic config by @Shaddoll in #7018
- Replace docker-compose with docker compose by @taylanisikdemir in #7029
- Make Frontend warmup duration configurable by @natemort in #7038
- Create reset branch only after history checks pass by @fimanishi in #7034
- Support setting a TaskListKind on Workflows by @natemort in #7037
- [active-active] Handle DomainNotActiveError for active-active domains and some refactoring by @taylanisikdemir in #7039
- [history] Cleanup logging by @3vilhamster in #7047
- [active-active] Handle active cluster lookup for retired workflows by @taylanisikdemir in #7052
- [shard-distributor] Store rework by @3vilhamster in #7048
- Sample ES version conflict logs to reduce noise by @neil-xie in #7059
- Fail workflow if pending activity limit exceeds limit by @timl3136 in #7054
- Use remote timestamp for standby timer tasks by @Shaddoll in #7062
- [authz] Update access controlled APIs in frontend to include tasklist in auth attributes by @sankari165 in #7076
- [domain-deletion]Drop graceful failover markers when domain is deprecated by @gazi-yestemirova in #7075
- upgrade opensearch-go to v4.1.0 and update opensearch client creation and logic by @anuragrai16 in #6998
- Enrich async API request processing error logs by @taylanisikdemir in #7081
- Downgrade semver version to match with monorepo by @neil-xie in #7085
- Increase Activity Rate Limiter Responsiveness by @natemort in #7079
- Updates github.com/robfig/cron/v3 by @davidporter-id-au in #7087
- [Wf-Diagnostics] Keep single link to runbook instead of list by @sankari165 in #7094
Fixed
- Fix IDL submodule branch checking in CI workflows by @timl3136 in #7013
- [active-active] Fix active cluster policy propagation and domain replication mappers by @taylanisikdemir in #7024
- Fix data race in ValidateAndUpdateFailoverMarkers by @timl3136 in #7027
- Fix TestOfferOrTimeout_SyncMatchTimedOut flaky test in matcher_test by @fimanishi in #7033
- Fix history task latency metric for timer queue v2 by @Shaddoll in #7031
- Fix task attempt metric by @Shaddoll in #7035
- Fix task schedule latency metric by @Shaddoll in #7055
- Fix standby timer task timestamp for history queue v2 by @Shaddoll in #7058
- [CLI] fix domain deprecation security flag to be optional by @shijiesheng in #7061
- [shard-distributor] Fix election tests not waiting for the election stop by @3vilhamster in #7063
- [wf-describe]Fix negative ExpirationTimestamp when activity retry has no expiration by @gazi-yestemirova in #7068
- Fix nil pointer for TaskListKind in SQL serialization by @natemort in #7078
Removed
- Remove poll time from scheduled queue by @Shaddoll in #7028
- Remove buildkite files by @mandyschen in #7036
- Remove all references to buildkite by @mandyschen in #7044
- [active-active] Remove active cluster selection policy row during workflow cleanup by @taylanisikdemir in #7053
New Contributors
- @jayne-s made their first contribution in #7051
- @anuragrai16 made their first contribution in #6998
Full Changelog: v1.3.2...v1.3.3
v1.3.2
What's Changed
Added
- History QueueV2: Introduce pending task tracker component by @Shaddoll in #6962
- Add domain tag back to frontend's poller request metrics by @Shaddoll in #6963
- History QueueV2: Introduce active-standby task executor by @Shaddoll in #6964
- adding some utilities for scripting by @davidporter-id-au in #6958
- Add a design doc for history queue v2 by @Shaddoll in #6969
- Introduce virtual slice and queue reader component for queuev2 by @Shaddoll in #6967
- Add metrics to task processor to track migration by @Shaddoll in #6975
- Introduce virtual queue component for queuev2 by @Shaddoll in #6974
- Add retry visibility to client operations by @timl3136 in #6976
- Implement BufferOneCronWorkflow behavior in CronOverlapPolicy to cron GetBackoffForNextSchedule by @timl3136 in #6968
- Implement history queuev2 by @Shaddoll in #6978
- Implement mapping for CronOverlapPolicy in Persistence layer by @timl3136 in #6985
- [Active-active] Introduce cluster selection strategy by @taylanisikdemir in #6988
- Introduce history queue v2 factory and feature flags to enable queue v2 by @Shaddoll in #6986
- [active-active] Use active cluster selection policy to determine failover version of new workflows by @taylanisikdemir in #6991
- Dashboard for persistence - Grafana/Prometheus by @vishwa-uber in #6984
- Add rate limiter and metrics to history queue v2 by @Shaddoll in #6990
- [active-active] Get active cluster selection policy from DB by @taylanisikdemir in #6994
Changed
- Truncate timestamp of scheduled tasks to the min precision of Database timestamp by @Shaddoll in #6961
- Update/fix documentation of active-active by @taylanisikdemir in #6965
- [Wf-Diagnostics] handle pagination during fetching of history events by @sankari165 in #6959
- [history] Mark task HandleError as logger Helper by @3vilhamster in #6972
- [frontend/history] Mark common error handlers with logger.Helper() by @3vilhamster in #6973
- Update the Cadence IDL module to include CronOverLapPolicy and sync types/shared.go by @timl3136 in #6980
- Modify mapper function to add CronOverlapPolicy between shared/thrift/proto encoding by @timl3136 in #6983
- Updating workflow_execution & activity_info types in Cassandra to support cron overlap policy, active-active domain, ephemeral tasklist features by @taylanisikdemir in #6989
- Do not submit corrupted history tasks to scheduler by @Shaddoll in #6999
Fixed
- [common] Fix CapturePanic to preserve stack in logs by @3vilhamster in #6982
- [cmd/server] Fix metrics client initialization by @3vilhamster in #6981
- Check if history task is corrupted by @Shaddoll in #6997
Removed
- Remove duplicate buffered activity events by @natemort in #6966
- [domaindeletion]Remove enable domain deletion flag by @gazi-yestemirova in #6987
- Fix npe in WorkflowExecutionInfo in thrift mapper by @timl3136 in #6992
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
- fix: fix incorrect nil return value by @huochexizhan in #6695
- Active-active domain support - Part 3/N by @taylanisikdemir in #6850
- Unify methods of history tasks in shard component by @Shaddoll in #6868
- [service][fx] Move a few more components to fx and make shard distributor service have it's own dependencies by @3vilhamster in #6859
- [domain deletion]Add validation acitivity after terminating open wfs by @gazi-yestemirova in #6867
- Add proper categorization for client connection closing error by @timl3136 in #6844
- Fix flaky unit tests for sequential task processor by @Shaddoll in #6872
- Emit Target Peer IP address in Error Messages for Better Debugging by @timl3136 in #6863
- Fix Parent workflow is not notified of child workflow completion issue by @Shaddoll in #6871
- Fix flaky integration test in TestConcurrentlyForkAndAppendBranches by @timl3136 in #6860
- [dependencies][clock] Update github.com/jonboulle/clockwork and provide context wrappers by @3vilhamster in #6876
- Removed deprecated mock clock and replaced with the new timeSource by @jakobht in #6878
- [integration_tests][persistent_base] Fix of time sensitive test by @3vilhamster in #6879
- Added retries on creating the cassandra client. by @jakobht in #6877
- Unify history task methods of shard context component - part2 by @Shaddoll in #6873
- Fix not enough columns to scan issue for InsertInitialQueueMetadataRe… by @shijiesheng in #6881
- Change License to Apache 2.0 by @demirkayaender in #6882
- Serialize shard data by @Shaddoll in #6869
- [common][clock] Adjust clock interface to avoid extra type assertions by @3vilhamster in #6886
- [common][clock] Introduce context aware sleep by @3vilhamster in #6887
- Add cache count and cache full metrics to base cache for enhanced monitoring by @timl3136 in #6890
- Polish active cluster manager implementation and add tests by @taylanisikdemir in #6885
- [domain deprecation]Integrate domain deprecation workflow with CLI by @gazi-yestemirova in #6870
- [sharddistributor][leaderelection] Introduce leader election mechanism by @3vilhamster in #6889
- Fix TestReplicationTaskFetcherSuite/TestLifecycle unit test by @Shaddoll in #6894
- Update shard info to store queue state for history queue v2 by @Shaddoll in #6884
- Add missing dynamicConfig propagation for execution cache byte size by @timl3136 in #6896
- Generalize domain failover callback registration by @fimanishi in #6874
- [Wf-Diagnostics] Update diagnostics result to follow structure for all issue types by @sankari165 in #6893
- [Wf-diagnostics] add issue ID for issues and root causes by @sankari165 in #6899
- Unify methods for creating history tasks by @Shaddoll in #6901
- Add a new cache eviction metric by @timl3136 in #6902
- [sharddistributor] Add leader election into sharddistributor service by @3vilhamster in #6900
- [Wf-Diagnostics] map issue to rootcause in diagnostics workflow by @sankari165 in #6904
- reducing log noise during timer cleanup by @davidporter-id-au in #6906
- [domain-deletion]Introduce a new API for domain deletion by @gazi-yestemirova in #6905
- [sharddistributor] Remove dependecy on Cadence config by @3vilhamster in #6911
- Refactor history queue factory by @Shaddoll in #6907
- Tuning grafana client queries to have domain as a filter by @vishwa-uber in #6856
- Refactor client.Bean to return error instead of panicking by @Shaddoll in #6912
- Refactor ndc history resender to handle multiple remote clusters by @Shaddoll in #6913
- [common][log] Fixing logger stacktraces by @3vilhamster in #6917
- Reduce repetitive warn and error logging in base lru cache by @timl3136 in #6914
- [sharddistributor] Downgrade etcd client to a more stable version by @3vilhamster in #6916
- [sharddistributor] Fix missalignment on etcd modules by @3vilhamster in #6921
- Grafana front-end dashboard by @vishwa-uber in #6891
- Refactor history task key by @Shaddoll in #6919
- Grafana cadence-matching dashboard for prometheus by @vishwa-uber in #6895
- Add capability to have multiple domains in replication simulation by @fimanishi in #6923
- Disconnect tasklist pollers on domain failover using callback by @fimanishi in #6903
- [domain-deletion]Introduce a feature flag to control domain deletion by @gazi-yestemirova in #6920
- [domain-deletion]Add handler to process delete domain replication task by @gazi-yestemirova in #6918
- Define submodules by @3vilhamster in #6924
- Add a new parameter of context.Context to the Operation in retryer & inject retryCount to retryable operations by @timl3136 in #6922
- Decouple workflowExecutionStartToCloseTimeout from workflowDuration in replication simulation by @fimanishi in #6926
- [sharddistributor] Fix election related tests and code by @3vilhamster in #6927
- [common] metricsfx separation of modules with external tally and without by @3vilhamster in #6928
- Add workflowType to operation parameters in replication simulation by @fimanishi in #6930
- Add is_retry metrics to retryable persistence operations by @timl3136 in #6929
- Undo replace directives in main go.mod by @Groxx in #6937
- Restructure workflows for replication simulation by @fimanishi in #6936
- Fix gomod lint by @Groxx in #6938
- [persistence] Mark logger.Error messages from wrapping layers as a Helper by @3vilhamster in #6925
- [domain-deletion]Add domain delete CLI command by @gazi-yestemirova in #6908
- Fix error shadowing issue for cluster redirection handler by @Shaddoll in #6935
- Add shard ID tag to passive replication tasks by @timl3136 in #6933
- Domain idl changes for active-active by @taylanisikdemir in #6915
- Define internal types for queuev2 by @Shaddoll in #6931
- Add support of SQLite storage in cadence server by @arzonus in #6940
- Remove soft fail from integration-test-sqlite by @arzonus in #6944
- Update activecluster config in sqlblobs by @taylanisikdemir in #6941
- Improve the implementation of NoopScope by @Shaddoll in #6942
- Disconnect sticky tasklist blocked pollers after domain failover by @fimanishi in #6943
- Don't convert yarpc Unknown errors to error string by @natemort in #6949
- Add error logging to elasticsearch and opensearch by @Groxx in #6947
- [Wf-Diagnostics] update issueID to start from 0 by @sankari165 in #6952
- [common][rin...
v1.3.0
What's Changed
Added
- Introduce payload size metrics by @tubignat in #6745
- Implement bytes-based LRU cache using Sizeable interface by @timl3136 in #6722
- Introduce DynamicTaskBatchSizer by @arzonus in #6754
- Add a migration guide of task list partition config by @Shaddoll in #6765
- Scaffold ByteSize() measuring size estimation for history event cache by @timl3136 in #6693
- Add task category tag to history tasks metrics by @Shaddoll in #6769
- Introduce Cadence MCP server with an initial basic tool by @taylanisikdemir in #6766
- [domain-deletion]Allow to list workflows for deprecated domains by @gazi-yestemirova in #6752
- Adds some metrics / logs for an edge case in workflow cleanup by @davidporter-id-au in #6753
- Support client-side specification of consistency for DescribeWorkflowExecution and GetWorkflowExecutionHistory by @c-warren in #6789
- Automatically rebalance isolation groups between TaskList partitions by @natemort in #6764
- Grafana for cadence client by @vishwa-uber in #6783
- [domain-deletion]Add workflow to deprecate domains by @gazi-yestemirova in #6787
- Implement metrics collecting into the base LRU cache by @timl3136 in #6794
- Add SQLite Persistence tests by @arzonus in #6795
- [domain-deprecation]Add an activity to deprecate a domain by @gazi-yestemirova in #6802
- [server] Add automaxpocs library by @3vilhamster in #6814
- Add size-based cache config flags for history event and execution cache by @timl3136 in #6817
- Add db payload decoding support to MCP server by @taylanisikdemir in #6808
- Document timer task page tokens' risky serialization needs by @Groxx in #6821
- Active-active domain support - Part 1/N by @taylanisikdemir in #6799
- Add hot-swap capability between count-based and size-based cache modes by @timl3136 in #6809
- Add a dynamic property to disable failover queues by @Shaddoll in #6836
- Add more logs to improve visibility around shard/engine/queue component lifecycles by @taylanisikdemir in #6838
- Active-active domain support - Part 2/N by @taylanisikdemir in #6840
- Add more logs for shard item and resolver components by @taylanisikdemir in #6858
- Domain Deprecation: Implement workflow listing and termination activities by @gazi-yestemirova in #6819
- Create MAINTAINERS.md by @demirkayaender in #6866
Changed
- Persistance operations grafana dashboard improvements by @vishwa-uber in #6744
- Unify history task query - part 2: Replace GetTimerIndexTasks with GetHistoryTasks by @Shaddoll in #6737
- Refactor: Move constants.go to dedicated constants package by @timl3136 in #6713
- Set MatchingEnableStandbyTaskCompletion default value to true by @fimanishi in #6751
- Set EnableAsyncWorkflowConsumption default value to true by @fimanishi in #6750
- Refactor Size() method to ByteSize() avoiding naming collision by @timl3136 in #6755
- Unify history task query - part 3: Replace GetTransferTasks with GetHistoryTasks by @Shaddoll in #6746
- Unify history task query - part 4 - replace task.Info with persistence.Task in history queue by @Shaddoll in #6757
- Use equality comparison for CloseStatus in pinot query instead of range by @neil-xie in #6758
- Unify history task query - part 5 - replication task queries by @Shaddoll in #6761
- Upgrade postgres version in docker compose files from 12.4 to 17.4 by @ahumblefool in #6762
- Unify complete history tasks methods by @Shaddoll in #6763
- Extract stopping ratelimiters code to fn by @dkrotx in #6748
- fix weighted load balancer by @Shaddoll in #6770
- (docs): Update Cross Region README commands to new version syntax by @c-warren in #6772
- use histogram for replication_task_delay by @shijiesheng in #6773
- Change dlq default end message id by @Shaddoll in #6775
- Simplify Isolation Group Determination by @natemort in #6768
- Wrap matching peer provider by @jakobht in #6715
- Refactor task executors to use concrete persistence.Task types for task execution by @Shaddoll in #6760
- [common/log] Unify logger package by @3vilhamster in #6779
- Refactor poller tracking from tasklist to poller package by @natemort in #6777
- Update changelog for v1.2.18 release by @neil-xie in #6785
- [common][dynamicconfig] Revamp dynamicconfig package to provide a cleanier boundaries of functionality by @3vilhamster in #6788
- Adjust task isolation metrics by @natemort in #6784
- [server] Start the server as a Fx application by @3vilhamster in #6793
- Enable Integration tests for SQLIte by @arzonus in #6796
- Reenables child workflows to be launched across local domains by @davidporter-id-au in #6804
- Allow execution of the delete history event task for deprecated domains by @gazi-yestemirova in #6803
- [server] Update mcp library by @3vilhamster in #6816
- Log duplicated activity events by @fimanishi in #6813
- Expose DebugOn to prevent expensive computations needed only to enrich debug logs by @taylanisikdemir in #6818
- Reuse TaskList Partition Weighting in IsolationLoadBalancer by @natemort in #6811
- Simplify debug level check by @taylanisikdemir in #6820
- Initialize NumHistoryShards in sql test utils by @taylanisikdemir in #6822
- Make cover_profile run parallel by @arzonus in #6801
- [ci][buidlkite] Try leveraging go modules to cache dependencies across runs by @3vilhamster in #6830
- Update matching query workflow to refresh task list partition config cache by @Shaddoll in #6790
- Change the default value of Task Isolation configs by @natemort in #6833
- Track Isolation Group state even when there's only one partition by @natemort in #6835
- Improve logs to detect double activity events by @fimanishi in #6839
- [common][dynamicconfig] Move dynamic config to fx Module by @3vilhamster in #6828
- Pass logger to redirect policy directly instead of using frontend's config struct by @taylanisikdemir in #6843
- [dependency] Update go.uber.org/fx to v1.23.0 by @3vilhamster in #6845
- Update active-active doc with limitations by @taylanisikdemir in #6846
- Optimize DynamicRateLimiter to not constantly re-evaluate RPS by @natemort in #6842
- Update shard controller getters to use atomic by @Shaddoll in #6864
Fixed
- fix version conflict after renaming Size() to ByteSize() by @timl3136 in #6756
- Set missed dynamicconfig default updates by @fimanishi in https://g...
v1.2.19-prerelease08
What's Changed
Full Changelog: v1.2.19-prerelease07...v1.2.19-prerelease08
v1.2.19-prerelease07
What's Changed
- Address test races caused by deferred logs by @taylanisikdemir in #6841
- Improve logs to detect double activity events by @fimanishi in #6839
- [common][dynamicconfig] Move dynamic config to fx Module by @3vilhamster in #6828
- Active-active domain support - Part 2/N by @taylanisikdemir in #6840
- Pass logger to redirect policy directly instead of using frontend's config struct by @taylanisikdemir in #6843
- [dependency] Update go.uber.org/fx to v1.23.0 by @3vilhamster in #6845
- Update active-active doc with limitations by @taylanisikdemir in #6846
- Fix warnings in replication simulation by @fimanishi in #6848
- Fix Flaky Integration Test in TestDomainReplicationDLQ by @timl3136 in #6851
- Bugfix/lowering log volume by @davidporter-id-au in #6847
Full Changelog: v1.2.19-prerelease06...v1.2.19-prerelease07
v1.2.19-prerelease06
Add more logs to improve visibility around shard/engine/queue compone…
v1.2.18
What's Changed
Important Notice:
There's a new opt-in feature for autoscale of tasklist partitions. It's optional but recommended for large scale use cases. Please refer to tasklist-partition-config.md for additional details on the migration and its rationale.
Added
- Added exponential retry to the domain cache by @jakobht in #6676
- Add a new Sizeable interface in cadence common cache by @timl3136 in #6679
- [history] Adding more metrics for replication by @3vilhamster in #6673
- Emit metrics on how many rows are returned per persistence operation by @tubignat in #6683
- Introduce task scheduler rate limiter by @Shaddoll in #6677
- add reset checker on the failover version by @shijiesheng in #6692
- Add SQLite plugin by @arzonus in #6689
- Add tasklisttype flag to ListTaskListPartitions by @arzonus in #6711
- Add SQLite schema by @arzonus in #6648
- Add shrinking ReplicationMessages by size by @arzonus in #6719
- Add dynamic config for pinot optimized query columns by @neil-xie in #6709
- Add log/metric for workflow context lock held duration by @taylanisikdemir in #6727
- Implement Size() measuring size estimation for execution cache by @timl3136 in #6681
- [Grafana] Prometheus dashboard for Persistence by @vishwa-uber in #6739
Changed
- update web image in docker compose by @Assem-Uber in #6680
- Validate TaskList partition updates via CLI are safe by @natemort in #6682
- Reprioritize responses of GetReplicationMessagesResponse in frontend by @arzonus in #6696
- Reprioritize responses of GetReplicationMessagesResponse in history by @arzonus in #6710
- Restructure Admin TaskList commands to operate on multiple types by @natemort in #6712
- Ratelimiter-wrapper improvement: don't release the lock when synchronously rejecting a Wait by @Groxx in #6721
- Replace min/max helpers with built-in min/max by @Juneezee in #6674
- Set default task list load balancer strategy to weighted by @Shaddoll in #6723
- Update Cassandra to write history tasks to new columns by @Shaddoll in #6685
- Append unauthorized errors in CLI with message to check domain and cluster input by @sankari165 in #6728
- Unify range delete method for history tasks by @Shaddoll in #6729
- Update isolationLoadbalancer to use isolation group assignment by @natemort in #6725
- Move time source from db layer to PersistenceManager by @ribaraka in #6646
- Unify task range queries by @Shaddoll in #6732
- Unify history task query - part 1 by @Shaddoll in #6734
- Support OpenSearch in esAnalyzer by @neil-xie in #6738
- Migrate history task scheduler to domain based WRR scheduler by @Shaddoll in #6720
- Hide the actual values for context headers in visibility store by @neil-xie in #6735
Fixed
- Use lower case when parse read/write visibility store names by @neil-xie in #6688
- [Wf-Diagnostics] fix input mappers for identity field in Diagnose Workflow API by @sankari165 in #6690
- Don't log error when an ES request fails due to a version conflict by @neil-xie in #6717
- Fix unit tests for Nosql execution store by @Shaddoll in #6730
- Bugfix/fixing history deletion on reset failure (1/2) - adding documentation/tests by @davidporter-id-au in #6740
- Fix replication task serialization by @Shaddoll in #6741
Removed
- Remove noisy domain change callback logs by @taylanisikdemir in #6684
- Deprecate shard level task scheduler by @Shaddoll in #6691
- Remove duplicate registration of FlagDomain by @natemort in #6718
New Contributors
- @Assem-Uber made their first contribution in #6680
- @ribaraka made their first contribution in #6646
Full Changelog: v1.2.17...v1.2.18