This commit is contained in:
Frans Kaashoek 2025-04-02 06:59:12 -04:00
parent 8743e4fb99
commit c96bad59a5
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func (sck *ShardCtrler) InitConfig(cfg *shardcfg.ShardConfig) {
// changes the configuration it may be superseded by another
// controller.
func (sck *ShardCtrler) ChangeConfigTo(new *shardcfg.ShardConfig) {
return
// Your code here.
}

View File

@ -30,13 +30,16 @@ func (ck *Clerk) Put(key string, value string, version rpc.Tversion) rpc.Err {
}
func (ck *Clerk) FreezeShard(s shardcfg.Tshid, num shardcfg.Tnum) ([]byte, rpc.Err) {
// Your code here
return nil, ""
}
func (ck *Clerk) InstallShard(s shardcfg.Tshid, state []byte, num shardcfg.Tnum) rpc.Err {
// Your code here
return ""
}
func (ck *Clerk) DeleteShard(s shardcfg.Tshid, num shardcfg.Tnum) rpc.Err {
// Your code here
return ""
}