Skip to content
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

Always use in-memory caches #11386

Merged
merged 4 commits into from
Mar 30, 2022
Merged

Always use in-memory caches #11386

merged 4 commits into from
Mar 30, 2022

Conversation

espadolini
Copy link
Contributor

Replaces #11022 without maintaining the ability to run caches with sqlite in temporary directories. The reason is unchanged.

@espadolini espadolini added the robustness Resistance to crashes and reliability label Mar 23, 2022
@espadolini espadolini force-pushed the espadolini/in-memory-cache branch from b17692f to 37effb8 Compare March 23, 2022 16:38
@espadolini espadolini force-pushed the espadolini/in-memory-cache branch 2 times, most recently from e2e0772 to 867ae4d Compare March 29, 2022 16:49
@espadolini espadolini marked this pull request as ready for review March 29, 2022 16:49
@espadolini espadolini enabled auto-merge (squash) March 30, 2022 13:16
@espadolini espadolini disabled auto-merge March 30, 2022 13:25
This also cleans up now-useless fields and constants related to on-disk
caches.
As we're never reopening the same cache backend twice, this is no longer
useful.
@espadolini espadolini force-pushed the espadolini/in-memory-cache branch from 74a34c4 to 608fdc6 Compare March 30, 2022 13:57
We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.
@espadolini espadolini force-pushed the espadolini/in-memory-cache branch from 608fdc6 to b923683 Compare March 30, 2022 14:01
@espadolini espadolini enabled auto-merge (squash) March 30, 2022 14:07
@espadolini espadolini merged commit dafc789 into master Mar 30, 2022
@espadolini espadolini deleted the espadolini/in-memory-cache branch March 30, 2022 14:54
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches (#11386)

* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.

* Default to synchronous FULL for sqlite (#11387)
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches (#11386)

* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.

* Default to synchronous FULL for sqlite (#11387)
espadolini added a commit that referenced this pull request Apr 1, 2022
* Always use in-memory caches (#11386)

* Always use in-memory caches

This also cleans up now-useless fields and constants related to on-disk
caches.

* Remove the cache tombstone mechanism

As we're never reopening the same cache backend twice, this is no longer
useful.

* Warn if a cache directory exists on disk

We can't remove it automatically because we might be in the middle of an
upgrade with a old version of Teleport still running.

* Default to synchronous FULL for sqlite (#11387)
@webvictim webvictim mentioned this pull request Apr 19, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
robustness Resistance to crashes and reliability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants