Browse Source

fix the tool for change replication factor

pull/680/head
Qin Liu 7 years ago
parent
commit
940b5edcaa
  1. 2
      unmaintained/change_superblock/change_superblock.go

2
unmaintained/change_superblock/change_superblock.go

@ -87,7 +87,7 @@ func main() {
if hasChange {
header = superBlock.Bytes()
header := superBlock.Bytes()
if n, e := datFile.WriteAt(header, 0); n == 0 || e != nil {
glog.Fatalf("cannot write super block: %v", e)

Loading…
Cancel
Save