Skip to content

Commit

Permalink
#1669 by default, configure queryReadConcern: "local" for ditto thing…
Browse files Browse the repository at this point in the history
…s-search

* if used in a replicated MongoDB setup, this should be changed to `queryReadConcern: "linearizable"`

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
  • Loading branch information
thjaeckle committed Jun 27, 2023
1 parent 2157ca5 commit 7cbfdfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.3.0 # chart version is effectively set by release-job
version: 3.3.2 # chart version is effectively set by release-job
appVersion: 3.3.0
keywords:
- iot-chart
Expand Down
3 changes: 2 additions & 1 deletion deployment/helm/ditto/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,10 @@ thingsSearch:
searchWithAcksWriteConcern: "majority"
# queryReadConcern configures the MongoDB read concern for doing queries / performing searches
# only if this is "linearizable" in combination with the searchWithAcksWriteConcern: "majority" a strong consistency
# if used in a replicated MongoDB setup, this should be changed to `queryReadConcern: "linearizable"`
# for commands using the "search-persisted" requested ACK is guaranteed
# one of: default | local | majority | linearizable | snapshot | available
queryReadConcern: "linearizable"
queryReadConcern: "local"
# updaterPersistenceReadConcern configures the MongoDB read concern for the "ThingUpdater"
# one of: default | local | majority | linearizable | snapshot | available
updaterPersistenceReadConcern: "local"
Expand Down

0 comments on commit 7cbfdfc

Please sign in to comment.