• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / cadence
71%
master: 72%

Build:
Build:
LAST BUILD BRANCH: fixit
DEFAULT BRANCH: master
Repo Added 12 Jun 2017 08:09PM UTC
Files 727
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v1.2.11-prerelease6
branch: v1.2.11-prerelease6
CHANGE BRANCH
x
Reset
  • v1.2.11-prerelease6
  • 0.26.x
  • 0.26.x-test-merge
  • 0.27.x
  • 1.1.x
  • 1.2.x
  • 4341
  • CDNC-2946_revert_temp_store
  • CDNC-4362
  • CDNC-4456
  • CDNC_4184
  • CDNC_4445
  • CDNC_4589
  • CDNC_4674
  • CDNC_5084_UpgradeMySQL
  • CDNC_5096_ES
  • Groxx-patch-1
  • bugfix/fix-build
  • cdnc-4709
  • change_mysqlSchemaFolder_tobe_v8
  • dependabot/go_modules/cmd/server/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/internal/tools/github.com/go-git/go-git/v5-5.11.0
  • dependabot/go_modules/internal/tools/github.com/hashicorp/go-retryablehttp-0.7.7
  • dependabot/go_modules/internal/tools/google.golang.org/protobuf-1.33.0
  • domain-name-validation
  • feature/adding-ig-admin-idl
  • feature/ig-frontend
  • feature/updating-admin-idls-ii
  • feature/zonal-isolation-ii
  • feature/zonal-partition-library
  • feature/zonal-partitioning
  • feature/zonal-partitioning-admin-mapping
  • feature/zonal-partitioning-lib-ii
  • feature/zonal-partitioning-test
  • fix_local_ci
  • global_aggregator
  • master
  • migration_validator
  • neilx_test_timeout
  • readhistorybranch-shard-metrics
  • started-worker-id
  • test-workflow-start-metric
  • testing
  • tifflin/test-helm
  • tim-tasklist-metrics
  • unused-metric
  • v1.2.10
  • v1.2.10-prerelease1
  • v1.2.10-prerelease2
  • v1.2.10-prerelease5
  • v1.2.10-prerelease6
  • v1.2.10-prerelease7
  • v1.2.11
  • v1.2.11-prerelease1
  • v1.2.11-prerelease10
  • v1.2.11-prerelease2
  • v1.2.11-prerelease3
  • v1.2.11-prerelease4
  • v1.2.11-prerelease5
  • v1.2.11-prerelease7
  • v1.2.11-prerelease8
  • v1.2.11-prerelease9
  • v1.2.12-prerelease1
  • v1.2.12-prerelease2
  • v1.2.7
  • v1.2.7-prerelease3
  • v1.2.7-prerelease4
  • v1.2.7-prerelease5
  • v1.2.7-prerelease6
  • v1.2.7-prerelease7
  • v1.2.8
  • v1.2.8-prerelease1
  • v1.2.8-prerelease2
  • v1.2.8-prerelease4
  • v1.2.8-prerelease5
  • v1.2.8-prerelease6
  • v1.2.8-prerelease7
  • v1.2.8-prerelease8
  • v1.2.8-prerelease9
  • v1.2.9
  • v1.2.9-prerelease2
  • v1.2.9-prerelease3
  • v1.2.9-prerelease4
  • v1.2.9-prerelease5
  • v1.2.9-prerelease6
  • validate-domain-name
  • wf-start-metric
  • wip-continue-as-new
  • worklfow-start-count
  • xbowen_add_ContextKey_Struct
  • xbowen_add_double_read00
  • xbowen_add_filter_for_comparator_log
  • xbowen_add_pinot_integration_test00
  • xbowen_add_pinot_integration_test_local_containers
  • xbowen_add_time_range_in_log
  • xbowen_commentFixing
  • xbowen_dual_manager_test01
  • xbowen_history_replicator_test01
  • xbowen_history_replicator_test02
  • xbowen_history_replicator_test03
  • xbowen_pinotQueryValidator_checkTimeTypeInCustomSearchAttribute
  • xbowen_pinotResponseComparator_test0
  • xbowen_pinot_dual_manager_test00
  • xbowen_pinot_triple_manager_test00
  • xbowen_pinot_visibility_store_test_hotfix
  • xbowen_visibility_single_manager_unit_test01

21 Jun 2024 05:11PM UTC coverage: 71.481% (-0.02%) from 71.498%
01903cd8-7566-49d3-8acb-d867ea03719f

push

buildkite

web-flow
Persist failover history in DomainInfo data (#6139)

**What changed?**
Added functionality to persist recent failover event data in the DomainInfo whenever a valid failover is executed.
`FailoverEvent` contains the failover `timestamp`, `fromCluster`, `toCluster`, and `FailoverType`("Force"/"Grace") information.
`FailoverHistory` is the key in the `DomainInfo` `data`. It's a slice stored as a string containing the `FailoverEvents`, with max size defined by `dynamicconfig.FrontendFailoverHistoryMaxSize`. It has a default value of 5 and domain filter allowed.
`FailoverHistory` always keep the n most recent `FailoverEvents` and it's sorted by descending timestamp.

**Why?**
Persist failover information, improving failover visibility to clients and the cadence team.

**How did you test it?**
Unit tests and integration tests. Tested locally, triggering failovers in a multiple Cadence clusters with replication environment.

**Potential risks**
The change does not affect the logic of UpdateDomain. It adds the failover info to the DomainInfo data. The main risk is that we introduce something that can cause the code to panic. Errors while adding the FailoverHistory are logged as warnings and do not return/interrupt the UpdateDomain action.

**Release notes**

**Documentation Changes**

27 of 39 new or added lines in 3 files covered. (69.23%)

58 existing lines in 11 files now uncovered.

106648 of 149198 relevant lines covered (71.48%)

2581.53 hits per line

Relevant lines Covered
Build:
Build:
149198 RELEVANT LINES 106648 COVERED LINES
2581.53 HITS PER LINE
Source Files on v1.2.11-prerelease6
  • Tree
  • List 720
  • Changed 295
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
01903cd8... v1.2.11-prerelease6 Persist failover history in DomainInfo data (#6139) **What changed?** Added functionality to persist recent failover event data in the DomainInfo whenever a valid failover is executed. `FailoverEvent` contains the failover `timestamp`, `fromClu... push 21 Jun 2024 10:38PM UTC web-flow buildkite
71.48
See All Builds (12090)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc