mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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
|
alreadyHasSuperBlock := false
|
||||||
|
|
||||||
if v.maybeLoadVolumeTierInfo() {
|
if v.maybeLoadVolumeTierInfo() {
|
||||||
|
v.readOnly = true
|
||||||
// open remote file
|
// open remote file
|
||||||
alreadyHasSuperBlock = true
|
alreadyHasSuperBlock = true
|
||||||
} else if exists, canRead, canWrite, modifiedTime, fileSize := checkFile(fileName + ".dat"); exists {
|
} else if exists, canRead, canWrite, modifiedTime, fileSize := checkFile(fileName + ".dat"); exists {
|
||||||
|
|
Loading…
Reference in a new issue