Comments (6)
Have landed along with a diagnostic API on Dacha1 FeatureHub instances. This is in 1.6.1-RC+
from featurehub.
So the Dacha1 protocol is such that a Dacha1 will become ready under two conditions:
(1) When it is told that the number of service accounts it now has in its cache is equal to the number of service accounts that is attached to each service account record, or it is told that there are no service accounts. Each PublishServiceAccount has the details of the service account AND the total number of service accounts.
(2) The same occurs for environments.
In a k8s cluster, a not-ready Dacha1 will not get traffic routed to it, so there is no issue with what the error response codes are.
I'm wondering if the issue is actually timed based. Explaining how this worked has made me think of a possible issue.
from featurehub.
I was checking to see if one dacha filling another dacha after a reset caused the original dacha to publish environment & service account "counts" with the wrong values, but they don't, if one dacha fills another, it resets the total number to what it has in its own cache correctly. Back to sq one.
from featurehub.
The code base as 3 dacha servers configured as test cases, i ran up two and then shut down the nats server and started the 3rd. The 1st two started complaining about lost connectivity and the 3rd wouldn't come ready. i started the nats server again and they recovered and the 3rd one advertised for its cache (when the health check was hit) and became ready (with the correct number of environments in the cache). So I'm at a bit of a loss.
from featurehub.
Similar issue that may happen after k8s has no resources left (cpu/ram/...) : when k8s is ready again :
- the features may not be updated correctly anymore (retired ones are still sent, changes are not sent)
- "API KEY does not exist." may happen with valid key (retries works with the same key)
- Everythings seems ok with the edge / admin / database
In order to be stable again, we need to stop all dacha and than start them again.
Not reproduced when k8s is not overloaded (thus it should not happen)... I was waiting to have more info before creating a issue.
from featurehub.
Yes, I expect that if something causes starvation it's going to be an issue. There is a PR that will let you do a full cache republish.
from featurehub.
Related Issues (20)
- prom metrics for API endpoints disabled for 1.6.1 by default
- Webhook doesn't inform who made feature change HOT 9
- Feature Request: Log Improvements HOT 4
- Sometimes the webhook doesn't contain feature values HOT 17
- Edge doesn't return 503 if Dacha isn't up
- Feature Request - Multiple API Keys for Key Rotations HOT 3
- Editing Groups for Admin Service Account has no affect HOT 3
- Internal: Separate containers that support kinesis
- k8s feature: Leader election
- feature request: dacha2 full publish support
- Allow server side control of polling intervals per environment/application
- feature request: allow NATS connectivity to be disabled as part of the health check
- How to give "Admin Service Accounts" permissions to create portfolios
- Trying to add a Rollout Strategy to a locked feature fails HOT 1
- Service Not Returning fetures After Minikube Cluster Restart HOT 15
- internal: remove stickycode from config
- internal - java19 upgrade
- Feature - add Support to Idp Groups HOT 6
- Refreshing API keys still allows connections in with invalidated key until restart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from featurehub.