1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-03 08:24:27 +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

@@ -399,6 +399,9 @@ class SeafileAPI(object):
"""
return seafserv_threaded_rpc.set_repo_history_limit(repo_id, days)
def set_repo_valid_since(self, repo_id, timestamp):
return seafserv_threaded_rpc.set_repo_valid_since(repo_id, timestamp)
def check_repo_blocks_missing(self, repo_id, blklist):
return seafserv_threaded_rpc.check_repo_blocks_missing(repo_id, blklist)