Skip to content

Bumped version to 2.1.1. #69

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

Merged
merged 1 commit into from
Jun 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ The storage format of the filetracker server is very different in the new server
so non-trivial migration is required if you want to preserve your users' files
(submitted sources, problem packages, etc.).

After migration is complete, you may expect total filetracker storage size to decrease
by ~70% for a typical OIOIOI instance.

There are two migration options, but for both of them, you first need to make sure OIOIOI
uses `remote_storage_factory` as `FILETRACKER_CLIENT_FACTORY` and `FILETRACKER_CACHE_ROOT` is configured in your `settings.py`. If you have a recent
config version (23+), this is the default behaviour.
Expand Down Expand Up @@ -33,6 +36,8 @@ Navigate to `ft_root` and execute the following command:

CAUTION: if you have a lot of files (>100 GiB), this command may take
a few days to complete, so doing this in a usual SSH session may not be the best idea.
Consider using `tmux` or `screen`. Average migration speed for our servers was
10 GiB/h.

After the command above is completed you can safely remove the original `./files`
directory (it's not used by the new server). Your previous server config should still work,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(
name = 'filetracker',
version = '2.1',
version = '2.1.1',
author = 'SIO2 Project Team',
author_email = '[email protected]',
description = 'Filetracker caching file storage',
Expand Down