-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist: Enable reference-cache by default #9760
base: main
Are you sure you want to change the base?
Conversation
4e93232
to
f66a447
Compare
f66a447
to
7a48740
Compare
Default cache TTL is 5 minutes.
7a48740
to
b8bedf0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM, but I'm not sure about enabling this cache by default.
- If you are not using k8s and you are running Nessie with multiple nodes, you must either | ||
* configure `nessie.version.store.persist.cache-invalidations.service-names`, see | ||
[docs reference](https://projectnessie.org/nessie-latest/configuration/#version-store-advanced-settings), | ||
or | ||
* disable the reference cache by setting `nessie.version.store.persist.reference-cache-ttl` to `PT0S`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the benefit of enabling reference cache by default if users have to do additional config changes to run Nessie now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's only if you run multiple nodes without k8s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But is reference cache critical for single-node deployments?
"Must" is a strong word. It looks like the new default is going to cause undue failures for naive users when they scale Nessie.
Default cache TTL is 5 minutes.