Upgrade to 7.2 to check if it has the same bug with mounting with noocache
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-03 17:43:13 +02:00
parent 66a42086b4
commit c4c2897dc9
2 changed files with 3 additions and 3 deletions

BIN
bin/mount.objectivefs Executable file → Normal file

Binary file not shown.

View File

@@ -62,7 +62,7 @@ type ofsDriver struct {
}
var version = "1.2"
var objfsVersion = "7.0"
var objfsVersion = "7.2"
const (
volumeBucket = "volumes"
@@ -398,7 +398,7 @@ func (d *ofsDriver) Mount(r *volume.MountRequest) (*volume.MountResponse, error)
// success.
for i := 1; ; i++ {
// Check for process exit
time.Sleep(5000 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
if cmd.ProcessState != nil {
// The process has exited so consider an error occured
log.WithFields(log.Fields{"name": r.Name, "exitStatus": cmd.ProcessState.ExitCode()}).Error("Volume mount failed")
@@ -818,7 +818,7 @@ func isObjectiveFsMount(path string) (bool, error) {
// the directory is in a transitioning state and all file system accesses end
// with the error "Input/output error". Therefore we omit the last argument of the
// df command that would contain the "path" value.
mount := exec.Command("df", "--output=target", "-t", "fuse.objectivefs")
mount := exec.Command("df", "--output=target", "-t", "fuse.objectivefs", path)
if data, err := mount.CombinedOutput(); err == nil {
scanner := bufio.NewScanner(strings.NewReader(string(data)))
// On success the first line contains column headers (in our case "Mounted on")