update
This commit is contained in:
parent
8743e4fb99
commit
c96bad59a5
@ -52,7 +52,7 @@ func (sck *ShardCtrler) InitConfig(cfg *shardcfg.ShardConfig) {
|
|||||||
// changes the configuration it may be superseded by another
|
// changes the configuration it may be superseded by another
|
||||||
// controller.
|
// controller.
|
||||||
func (sck *ShardCtrler) ChangeConfigTo(new *shardcfg.ShardConfig) {
|
func (sck *ShardCtrler) ChangeConfigTo(new *shardcfg.ShardConfig) {
|
||||||
return
|
// Your code here.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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) {
|
func (ck *Clerk) FreezeShard(s shardcfg.Tshid, num shardcfg.Tnum) ([]byte, rpc.Err) {
|
||||||
|
// Your code here
|
||||||
return nil, ""
|
return nil, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ck *Clerk) InstallShard(s shardcfg.Tshid, state []byte, num shardcfg.Tnum) rpc.Err {
|
func (ck *Clerk) InstallShard(s shardcfg.Tshid, state []byte, num shardcfg.Tnum) rpc.Err {
|
||||||
|
// Your code here
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ck *Clerk) DeleteShard(s shardcfg.Tshid, num shardcfg.Tnum) rpc.Err {
|
func (ck *Clerk) DeleteShard(s shardcfg.Tshid, num shardcfg.Tnum) rpc.Err {
|
||||||
|
// Your code here
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user