Skip to content

Commit 4aa99f2

Browse files
committed
client-replica: the first release
This is a squashed commit of following commits. The squash is due to massive conflict. add apitest to github actions (#1591) test: add puterjs test to apiteste (#1590) client-replica: local read, replica init update proto definition client-replica: update the tree structure pick package.json (root + puterjs) from main client-replica: got the same hash algo on js and go client-replica: update design and api client-replica: update design, add rpc PullDiff client-replica: update pull/push requests client-replica: use string hash client-replica: remove bigint hash client-replica: update code format client-replica: update rpc client-replica: use user_id instead of user_name client-replica: fix root path, add integrity check client-replica: force pull client-replica: update design, aligh implementation with it client-replica: simplified socket logic client-replica: add purge logic to server.go, update rpc client-replica: purge logic client-replica: draft hook for rename, too many pitfalls client-replica: add parent_uid patch to move client-replica: inject failure to server.go client-replica: tidy debug code client-replica: remove api InitReplica (generated by mistake) client-replica: update doc comments client-replica: reorg backend fs_tree_manager client-replica: update hooks, udpate api name client-replica: fatal -> panic client-replica: update RemoveFSEntry client-replica: use map children_uuids to avoid duplicate client-replica: update children_uuids in js client-replica: update doc comments clietn-replica: update doc comments client-replica: refactor fs_tree_manager, add config client-replica: add mysql support client-replica: update config client-replica: add missing lock client-replica: update the RFC client-replica: update chaos mode client-replica: remove some logs client-replica: deal with dir rename/move, update hooks client-replica: update docs
1 parent 9607706 commit 4aa99f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+8207
-342
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,13 @@ jsconfig.json
4545
# the exact tree installed in the node_modules folder
4646
package-lock.json
4747

48+
# ======================================================================
49+
# fs tree manager
50+
# ======================================================================
51+
src/fs_tree_manager/config.yaml
52+
53+
# ======================================================================
54+
# other
55+
# ======================================================================
4856
AGENTS.md
4957
.roo

doc/RFCS/20250821_client_replica_file_system.md

Lines changed: 382 additions & 0 deletions
Large diffs are not rendered by default.

doc/RFCS/assets/20251008_134412_puter-client_replica_overview.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/RFCS/assets/20251008_134726_puter-client_replica_network.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/RFCS/assets/20251008_134849_puter-client_replica_deployment1.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)