1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-10 19:59:18 +00:00

Add online gc (#706)

* Add online gc core

* Add check gc when update repo

* Go add check gc when update repo

* Add gc unit test

* Support set pwd_hash for gc and fsck

* Optimize to check if block exists

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-10-24 18:34:16 +08:00
committed by GitHub
parent 6af96fe1d2
commit 5899f110b9
24 changed files with 1672 additions and 258 deletions

View File

@@ -612,6 +612,10 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
def get_repo_history_limit(repo_id):
pass
@searpc_func("int", ["string", "int64"])
def set_repo_valid_since(repo_id, timestamp):
pass
# virtual repo
@searpc_func("string", ["string", "string", "string", "string", "string", "string"])
def create_virtual_repo(origin_repo_id, path, repo_name, repo_desc, owner, passwd=''):