Browse Source

tiered volume is read only

pull/1165/head
Chris Lu 5 years ago
parent
commit
39810a9951
  1. 1
      weed/storage/volume_loading.go

1
weed/storage/volume_loading.go

@ -27,6 +27,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
alreadyHasSuperBlock := false
if v.maybeLoadVolumeTierInfo() {
v.readOnly = true
// open remote file
alreadyHasSuperBlock = true
} else if exists, canRead, canWrite, modifiedTime, fileSize := checkFile(fileName + ".dat"); exists {

Loading…
Cancel
Save