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

zalando-incubator / postgres-operator
11%
master: 24%

Build:
Build:
LAST BUILD BRANCH: set-human-role-var
DEFAULT BRANCH: master
Repo Added 08 Jun 2017 10:56AM CUT
Files 8
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 no_sync_failure_on_cluster_without_master
branch: no_sync_failure_on_cluster_without_master
CHANGE BRANCH
x
Reset
  • no_sync_failure_on_cluster_without_master
  • add-clone-example
  • add-slides
  • api-improvements
  • api-queue-size
  • bugfix/avoid_recreating_empty_master_pod
  • bugfix/close_db_connections
  • bugfix/connection_leak_and_sync_role_options
  • bugfix/fail_to_create_kubernetes_objects_on_sync
  • bugfix/nil_db_connection
  • bugfix/pam_role_name
  • bugfix/replica_service_selector
  • cdp-test
  • cdp/improvements
  • cfg-pod-terminate-grace-period
  • clean-cluster-queue
  • client-go
  • client-go-v4
  • compare-container-names
  • constants-refactor
  • container-name
  • correctly-select-deployed-ns
  • crd
  • create-databases
  • custom-env
  • custom-env-improved
  • custom-resource-definition
  • database-name-fix
  • databases-rest-endpoint
  • dcs-enable-kubernetes-api
  • default-to-watched-ns
  • default_empty_readiness_label
  • diagnostic-api
  • docs/endpoints
  • docs/endpoints-1
  • document-watch-namespace
  • feature/add-unit-tests-build-step
  • feature/configure_replication_role
  • feature/demospilo
  • feature/diagnostic-rest-api
  • feature/dynamic-client
  • feature/fork_clusters
  • feature/interfaces
  • feature/k8s-api
  • feature/lint-fixes
  • feature/refactor-tpr
  • feature/remove-pod-dispatcher
  • feature/restrict_lb_by_default
  • feature/retry_util_tests
  • feature/tests
  • feature/unit-tests-doc
  • feature/unit_tests
  • feature/validate_role_options
  • fix-cluster-delete
  • fix-labels
  • fix-loadbalancer-config
  • fix-pdb-comparison
  • fix-sync-non-existing-statefulset
  • fix/alter-user
  • fix/cluster-event-queue
  • fix/clusterevent-queue
  • fix/graceful-shutdown
  • fix/logger
  • fix/object-deletion
  • fix/queue-consumption
  • fix/skip-empty-config-params
  • fix_env_name
  • fix_for_clusters_restored_from_s3
  • fix_not_opening_db_connection
  • fix_pdb_sync
  • fix_pg_retry
  • fix_pod_waits
  • global-min-max-replicas
  • go19
  • improve_behavior_on_node_decomissionining
  • improve_infrastructure_role_definitions
  • inline-custom-variables
  • kube-cluster-upgrade
  • kubernetes-client-v4
  • link-patroni
  • log-method-normalize
  • make-role-public
  • manual-failover-fix
  • master
  • merge_infrastructre_robot_roles
  • migrate_master_without_replicas
  • monitoring-api
  • more-logging
  • move-config
  • normalize-log-messages
  • operator_rbac
  • patroni
  • pdb-master-label
  • per-cluster-docker-image
  • pg-retry
  • pick_master_canddidate_on_live_node
  • protected_roles
  • readme-1
  • readme-bump
  • readme-stackenblocken
  • resource-update
  • rolling-upgrade
  • run-local
  • run_on_hosts_with_readiness_label
  • scale-down
  • scalyr-agent-sidecar
  • scalyr-api-key
  • scalyr-pod-name
  • secret-name-template
  • set-status-running
  • set_user_options
  • static-check-fix
  • support-many-namespaces
  • sync
  • sync_databases
  • toggle-superuser
  • travis_ci
  • update-readme-api-1
  • update-readme-status
  • update_documentation
  • wal_bucket_uid_suffix
  • warn-empty-secrets
  • watch_multiple_namespaces
  • worker-assignment
  • zerg-junior-patch-1

pending completion
979

push

travis-ci

alexeyklyukin
Continue recreating the master pod after the failed failover.

Previously, the failover failure aborted the pod recreation process,
potentially leaving an 'old' version of the former master pod. With
these changes such a failure will not stop the process of recreating
pods.

There is one case when it would be more beneficial to retry the failover,
namely, when the failover failed because of the candidate (that is no
longer healthy, died or not available.) In that case it would be better
to retry with another candidate. However, Patroni API requires matching
text output against a known failure reason, and the chances of candidate's
failure during the pod recreating are not high enough to justify
additional complexity in the operator failure code.

545 of 4977 relevant lines covered (10.95%)

0.61 hits per line

Relevant lines Covered
Build:
Build:
4977 RELEVANT LINES 545 COVERED LINES
0.61 HITS PER LINE
Source Files on no_sync_failure_on_cluster_without_master
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
979 no_sync_failure_on_cluster_without_master Continue recreating the master pod after the failed failover. Previously, the failover failure aborted the pod recreation process, potentially leaving an 'old' version of the former master pod. With these changes such a failure will not stop the ... push 16 Feb 2018 03:49PM CUT alexeyklyukin travis-ci pending completion  
917 no_sync_failure_on_cluster_without_master Remove the masterless state altogether. That state cannot be used reliably to decided whether the cluster has a master or not, since it represents the state of the cluster at the time it was set, not the actual one. Change the user/DB creation c... push 14 Feb 2018 12:49PM CUT alexeyklyukin travis-ci pending completion  
858 no_sync_failure_on_cluster_without_master Avoid syncing users and databases for the masterless cluster. In addition, set the masterless status in re-create pods if all pods were re-created as replicas. In order to save on Kubernetes call, return the pod being waited for from the waitFor... push 22 Jan 2018 02:21PM CUT alexeyklyukin travis-ci pending completion  
See All Builds (1274)
  • 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