diff options
author | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-01-17 09:53:05 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-01-17 10:02:20 +0000 |
commit | 72cec61c615bfe25628c375eade4c8d8832cd2da (patch) | |
tree | b0cf200520cc40a9e42ffb874b712d02c910ef32 /messagebus | |
parent | b9b0cf87f7335fed7af9854a2f1a63617c29451a (diff) |
Add configurable support for weakly consistent client Gets
If configured, Get operations initiated by the client are flagged
with weak internal consistency. This allows the backend to bypass
certain internal synchronization mechanisms, which minimizes latency
at the cost of possibly not observing a consistent view of the
document. This config should only be used in a very restricted set
of cases where the document set is effectively read-only, or cross-
field consistency or freshness does not matter.
To enable the weak consistency, use an explicit config override:
```
<config name="vespa.config.content.core.stor-distributormanager">
<use_weak_internal_read_consistency_for_client_gets>
true
</use_weak_internal_read_consistency_for_client_gets>
</config>
```
This closes #11811
Diffstat (limited to 'messagebus')
0 files changed, 0 insertions, 0 deletions