mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 13:31:27 +08:00
tiered volume is read only
This commit is contained in:
parent
58f88e530c
commit
39810a9951
@ -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…
Reference in New Issue
Block a user