Skip to content

v0.11.0 Release

Compare
Choose a tag to compare
@vancexu vancexu released this 15 Feb 01:29
· 2379 commits to master since this release

Please upgrade your Cadence server to add the new default search attribute:

cadence admin cluster add-search-attr --search_attr_key BinaryChecksums --search_attr_type 1

Schema version check is enforced, please use the sql tool to add schema enforcing tables.
For MySQL:

./cadence-sql-tool --ep $SQL_HOST_ADDR -p $port --plugin mysql --db cadence setup-schema -v 0.3
./cadence-sql-tool --ep $SQL_HOST_ADDR -p $port --plugin mysql --db cadence_visibility setup-schema -v 0.1

NOTE: Assuming you are at 0.10.x right now, the cadence schema version should be 0.3 and visibility should be 0.1.

New Features related

8f4ed1c Cadence authorization (#2903)
bd1f1d2 Expose NDC doc (#2915)
97c01c9 Sticky query support (#2899)
cba849d Implement Postgres SQL Plugin (#2889)
ccdf53d Add Postgres configuration in docker configs (#2894)
0d160a9 Support Postgres in SQL CLI and make SQL pluggable for any database (#2828)
88c6d1a Adding auto-reset points to visibility record (#2830)
3a27d38 Update archival development guide for visibility archiver (#2824)
e0ef19e Add cassandra TLS support (#2769)
519b92b Consistent query support (#2678)

Bugs fixes and improvements

e16c5a3 Dedup activity heartbeat timeout timer task creation (#3032) (#3037)
d5cd7b0 Revert commits for adding debug metrics and logging (#3033)
6bf637f Update metrics and add logging for activity timeout task (#3030)
23fa79c Add metrics for profiling activity timeout task latency (#3026)
7af39ef check if timer expired first
3578a38 Increment readLevel when skipping over expired tasks (#3020)
92754ec Revert "Add more metrics for task processing logic (#3018)"
08592c3 Fix indexer not retry on error code 500 (#3015)
939b320 Update logging tag with the correct component (#3016)
ba50eb1 Add more metrics for task processing logic (#3018)
a48bcb6 change default value of replicatorMaxRetryCount (#2988)
ca58d68 replicator: enforce maxRetryCount per domain (#2987)
646718f Fix listarchived cli command (#2998)
c805c55 Move replication context timeout to dynamic config (#2979)
f3872e0 Matching use non retry matching client (#2993)
821b400 queueProcessor: fix write on closed chan panic (#2986)
f5186f1 Eat operation not support error for change version on DB (#2950)
c710277 Better handling Cassandra data resurrection issue (#2949)
533e36b Add more options to reset batch: skip_base_not_current, non_deterministic_only (#2931)
2348e96 Enable domain update clusters info (#2940)
e057c46 Move some APIs to frontend to admin (#2939)
6c962c9 Admin command for visibility into membership info for the cluster (#2938)
e5f7c87 Fix NDC workflow events reapplication issue (#2933)
bb55504 Fix config deserilization error (#2927)
eb47ac6 Added API for getting partiton information for scalable tasklist (#2910)
618d7cc Release strict assertion for UpdateCurrentWorkflowByPass for marking workflow as corrupted state (#2907)
d81a728 Enforce ordering in reading transfer tasks (#2916)
c961861 Remove dependency requirement for gogo/protobuf v1.3.1 (#2919)
fb96273 [Kafka deprecation] Move ack level to source cluster (#2896)
8d0f6cd Add docker-compose config for postgresql for dev (#2904)
9ecec8e Added API that returns information about Cadence deployment (#2845)
3c37236 Add acquire shard time metric (#2912)
e5ceaa2 Disable mutable state sanity check for data inconsistency (#2914)
0325021 Update persistence.md (#2911)
0d60272 Test implementation for shard context (#2897)
1c6aa68 Backward compatible feature version check when clientImpl is not set (#2906)
39fabad Consistent query bug fixes (#2908)
1e63e93 Modify driver to plugin in docs for MySQL (#2909)
34f4f6c Refactor server main to make it simple to build with pulgins (#2905)
5f71093 Handle activity start not found during replication (#2902)
97de98c frontend.getHistory: add validation / sanity checks (#2900)
9e996b0 Clean up IDL for error list and returnning error in Frontend (#2901)
9ca09cc Removed cassandra-consistency from all the configs (#2898)
61d1a8a Add health metaserver to matching service (#2867)
efa68ee frontend.PollForDecisionTask: add validation to verify history is complete (#2890)
b972d8d Use concurrent loading to acquire shards: (#2888)
a76b957 Persistence refactoring to be pluggable for any database (#2836)
ac457cd Use new resource struct for history (#2875)
04732b2 Fix admin kafka cli regex (#2886)
4a5a0d6 Consistent query metrics (#2885)
83f9b21 Handle retry v2 error in replication task processor (#2876)
bf93d90 initiate graceful shutdown after SIGTERM (#2881)
2ea7256 Record binary checksum for decision task failed event (#2873)
1753126 Fix missing properties in continueasnew when workflow fail (#2883)
38ba642 Add tags to error logs in frontend (#2880)
245075c Update words with spelling (#2872)
dc5f154 Fix race condition in integration test (#2871)
41f1acc Use new resource struct for frontend (#2851)
5e0a62b logging: attempt to fix high memory on history (#2859)
a5b2ed7 Set max result window for ES integration test (#2860)
505a79e ContinueAsNew should track the workflow previous run for NDC enabled (#2853)
4b079a0 cleanup: replace noisy log with domain specific metric (#2852)
b4b4686 Adding a layer to ignore reapplied events (#2787)
6137576 Dynamic config limits for consistent query (#2842)
6189d1d Remove sticky query (#2846)
1b10ab3 Update CLI version (#2844)
04d4d42 Improve list archived API and fix print all with json (#2840)
a4e4600 Fix replicate ActivityTaskCancelRequested event if activity info not found (#2838)
5032b19 Remove Cassandra Consistency config beacuse it's it's always hard coded to local quorum (#2837)
808265e Matching query refactor (#2825)
658758a Fix mysql not supported error on server binary (#2832)
edf871d Fix NDC continue as new to non-current branch deadlock (#2831)
d553f55 Delay worker startup for service warmup (#2827)
37c4e32 CLI improve list command usage hint on timestamp (#2822)
eedf89b Fix create workflow error handling issue (#2823)
7700613 Auto forwarding should be enabled by default for global domain #2677 (#2798)
cd7d0d1 Use start event timestamp for visibility record (#2820)
42d0345 Add CadenceChangeVersion as default valid search attribute (#2817)
b9fdaa1 Dynamic config to reject query based on domain (#2804)
12cb749 Fix Visibility Archival Metrics (#2818)
21e7f99 Consistent query version check (#2762)
7774d23 Adding a counter when RespondDecisionTaskCompleted returns with empty… (#2807)
e946049 Archive visibility records when workflow close (#2814)
8109c60 Handle empty newRunHistory in stateBuilder (#2813)
95093ea Fix zombie workflow continue as new issue since new run may exits (#2812)
5c4837e Fix typo in IDL for activityTimeout (#2809)
9f314d7 Handle continue as new in resend (#2808)
14ff96b Record last activity failure reason and detail when timeout (#2806)
1fac8f6 Fix sync activity update zombie (#2805)
d4308b9 Adding logging for debugibility (#2802)
cc891e2 Fix panic if cluster metadata is not set correctly (#2799)
7924799 New persistence client bean for DB clients management (#2795)
dbd9ffc Do not expose ports for build kite tests (#2800)
17000cf Use cron workflow for history scanner workflow (#2796)
6bd2bf9 Fix race condition issue for history scavenger against archiver (#2783)
925d24d Fix workflow status check on start of transaction (#2794)
6a264d2 Improve error message for reading passed retention workflow history (#2791)
d3e9c27 update graphite-statsd (#2789)
bc1ebff Rename TaskID in TimerInfo to TaskStatus for readability (#2786)
e5b6bdb Improve 2DC NDC compatibility (#2747)
60e09ca fix linting (#2779)
0a722c0 Fix timer typos (#2784)
ef6757a Add search attrs to batch canary (#2776)
4a91284 Use different argument for cassandra address in Admin CLI (#2761)
971ea74 Fix history replicator reset context (#2774)
c98ef33 Optimize parent close policy system workflow (#2778)
ca0897b CLI: add security token to admin add search attribute (#2773)
6120c99 Visibility Archival logger tags and dynamic configs (#2775)
1046b5b Add database schema version check for mysql (#2771)
33321e2 Add security protection for admin add search attributes API (#2772)
288a7d2 Bugfix: worker startup logic (#2770)
956c1b3 Fix workflow completed race for signal/cancel/terminate (#2749)
ba9e881 Compare schema version from version.go (#2768)
5894241 Fix tasklistName for starting scanner worker (#2763)
4c6c35d Transfer active processing refactoring (#2750)
454d381 Fix out of boundary of resend events (#2755)
3b41da3 Add validation for add search attributes (#2759)
31aa7a6 Fix bug in rate limiter that does not reject request correctly based on policy (#2760)
f58eae7 Change Default Eventstore Version to 2 (#2758)
a4561ec Consistent query do not generate decision task for unhandled queries (#2732)
e89769d Update yarpc to v1.42.0 for yarpc #1798 (#2757)
539e88a CLI: add missing memo in describe workflow (#2754)
b1c0886 Fix workflow execution state (#2746)
5ac1e0b Fix bug that workflow can be continued as newed in created state (#2745)
fe0bd36 Add make target for NDC local setup (#2744)
9c41413 Make error message the same for eventual query and consistent query (#2743)
5fb6f0d Sort imports by group (#2742)
0cd0ffa Update supported client version (#2741)
bc32945 Emit separate metrics for history and visibility in archival client (#2733)
0b398c7 History DLQ implementation (#2699)
5945043 Rename DecisionTimeoutValue to DecisionStartToCloseTimeout (#2727)
a1b996d Modify state builder to use standardlized task generation logic (#2721)
ac90693 Do not initialize remote clients if cluster not enabled (#2722)
2ec6845 Add check that context is valid after trying to dispatch query on sticky (#2716)
4c557a1 Add timer sequence UT (#2715)
2827287 Rewrite timer builder, as timer sequence (#2709)
d0b5130 Add more consistent query integration tests (#2708)
b86a313 Ensure waitGroup.Done is called in test (#2711)
8193270 Fix sync activity timer bug (#2706)
8ae29ad Add runID to queryDirectlyThroughMatchingRequest (#2705)
351b3fd Fix lint (#2700)
74c2327 Add cli flag to run consistent queries (#2702)
bf5d8c5 Fix replication task nil bug (#2701)
b5b20e3 Move db schema version definition to one place (#2695)
9ae7b5a Deprecate mockery generated mocks in history service (#2692)
8d14eb5 Build: use Go v1.13.3 (#2693)
4e81745 Bugfix: add domain name to request when only visibility archival is enabled (#2689)

Refactor related

e58ce1a Introduce resource package for dependence management (#2803)
b24ff30 Use new resource struct for matching / worker (#2811)
a0058ff Deprecate timer builder (#2725)
403373b Mockery deprecation (#2724)