Comments (5)
/assign
from dapr.
I am preparing to use dapr_placement.cluster.forceInMemoryLog=true in a production environment. I haven't enabled high availability (HA) before. This makes me very concerned.
from dapr.
I updated the title and description to reflect that we actually use on-disk raft logs. I saw the dapr flag default being in memory so assumed that's what we were using (see here); however, we actually use the helm value default which sets placement to on-disk for raft logs. So, the issue in my case is specific to on-disk raft logs.
ping @Cherrs - just wanted to let you know the update :)
from dapr.
I updated the title and description to reflect that we actually use on-disk raft logs. I saw the dapr flag default being in memory so assumed that's what we were using (see here); however, we actually use the helm value default which sets placement to on-disk for raft logs. So, the issue in my case is specific to on-disk raft logs.
ping @Cherrs - just wanted to let you know the update :)
Isn't this Helm default (forceInMemoryLog=false
) only actually used when the HA value is also set to true? Check the statefulset manifest
from dapr.
Yeah, that's correct, we can only have on disk log when we have a placement cluster:
{{- if or (eq .Values.global.ha.enabled true) (eq .Values.ha true) }}
- "--id"
- "$(PLACEMENT_ID)"
- "--initial-cluster"
- {{ template "dapr_placement.initialcluster" . }}
{{- if eq .Values.cluster.forceInMemoryLog false }}
- "--raft-logstore-path"
{{- if eq .Values.global.daprControlPlaneOs "windows" }}
- "{{ .Values.cluster.logStoreWinPath }}\\cluster-v2-$(PLACEMENT_ID)"
{{- else }}
- "{{ .Values.cluster.logStorePath }}/cluster-v2-$(PLACEMENT_ID)"
{{- end }}
{{- end }}
{{- end }}
from dapr.
Related Issues (20)
- Proposal: Publish additional Docker images that provide libc
- SchedulerReminders Stable
- How to Integration Test State Store
- With almost default configuration, DAPR is loosing KAFKA pubsub messages with new deployment
- Cannot UnregisterActorTimer and stop callback in that timer's callback
- An Endpoint at the placement API that allows to list all Actor Instances
- Dapr sidecar injector is not patching injector to the application pods
- Dapr-sidecar-injector patch the injector to the application pods HOT 2
- GetWorkflowStateAsync "error from internal actor: no such instance exists" HOT 8
- HPA on deployments containing dapr sidecar cpu issue
- Dapr with cosmosdb HOT 2
- Stopping here no longer to output logs, dapr can not start.
- Stopping here no longer to output logs, dapr can not start. HOT 1
- Pubsub bug during graceful shutdown (continuation) HOT 1
- GetWorkflowStateAsync "error from internal actor: no such instance exists" HOT 1
- invokeBinding Not able to propagate traceparent header in dapr 1.13.2 HOT 2
- What does the '-msft.N' suffix mean in AKS extension versions? HOT 1
- Cron binding fails if there is a delay of several seconds before the cron binding is executed
- App channel HTTP client not setting `IdleConnTimeout`
- Control plane services to listen on localhost by default HOT 1
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 dapr.