File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ The storage format of the filetracker server is very different in the new server
4
4
so non-trivial migration is required if you want to preserve your users' files
5
5
(submitted sources, problem packages, etc.).
6
6
7
+ After migration is complete, you may expect total filetracker storage size to decrease
8
+ by ~ 70% for a typical OIOIOI instance.
9
+
7
10
There are two migration options, but for both of them, you first need to make sure OIOIOI
8
11
uses ` remote_storage_factory ` as ` FILETRACKER_CLIENT_FACTORY ` and ` FILETRACKER_CACHE_ROOT ` is configured in your ` settings.py ` . If you have a recent
9
12
config version (23+), this is the default behaviour.
@@ -33,6 +36,8 @@ Navigate to `ft_root` and execute the following command:
33
36
34
37
CAUTION: if you have a lot of files (>100 GiB), this command may take
35
38
a few days to complete, so doing this in a usual SSH session may not be the best idea.
39
+ Consider using ` tmux ` or ` screen ` . Average migration speed for our servers was
40
+ 10 GiB/h.
36
41
37
42
After the command above is completed you can safely remove the original ` ./files `
38
43
directory (it's not used by the new server). Your previous server config should still work,
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
setup (
3
3
name = 'filetracker' ,
4
- version = '2.1' ,
4
+ version = '2.1.1 ' ,
5
5
author = 'SIO2 Project Team' ,
6
6
author_email = '[email protected] ' ,
7
7
description = 'Filetracker caching file storage' ,
You can’t perform that action at this time.
0 commit comments