Browse Source

NET-6900: stop reconciling services when peering is enabled (#19907)

stop reconciling services when peering is enabled
pull/19918/head
Tyler Wendlandt 12 months ago committed by GitHub
parent
commit
e8164c7c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .changelog/19907.txt
  2. 11
      ui/packages/consul-ui/app/services/repository.js

3
.changelog/19907.txt

@ -0,0 +1,3 @@
```release-note:bug
ui: stop manually reconciling services if peering is enabled
```

11
ui/packages/consul-ui/app/services/repository.js

@ -113,6 +113,17 @@ export default class RepositoryService extends Service {
return false; return false;
} }
} }
// We were seeing issues where services were all being unloaded after visiting
// a peers imported services page. So if you viewes services -> peered imported services -> services
// only the peered services would remain as the others were all unloaded. Not certain if
// we should be doing any manual reconciling as it is. Not enough historical context
// to determine that at this time.
//
// https://hashicorp.atlassian.net/browse/NET-6900
if (this.env.var('CONSUL_PEERINGS_ENABLED') && this.getModelName() === 'service') {
return false;
}
return true; return true;
} }

Loading…
Cancel
Save