mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-07-28 11:03:15 +00:00
tiered volume is read only
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user