Skip to content

Commit

Permalink
Add: NFS support for MongoDB Archiver
Browse files Browse the repository at this point in the history
Signed-off-by: sayedppqq <[email protected]>
  • Loading branch information
sayedppqq committed Apr 29, 2024
1 parent 0aa6b37 commit a599d31
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
5 changes: 2 additions & 3 deletions cmd/mongo/oplog_replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ package mongo
import (
"context"
"encoding/json"
"os"
"syscall"

"github.com/spf13/cobra"
"github.com/wal-g/tracelog"
"github.com/wal-g/wal-g/internal"
Expand All @@ -16,6 +13,8 @@ import (
"github.com/wal-g/wal-g/internal/databases/mongo/oplog"
"github.com/wal-g/wal-g/internal/databases/mongo/stages"
"github.com/wal-g/wal-g/utility"
"os"
"syscall"
)

const LatestBackupString = "LATEST_BACKUP"
Expand Down
13 changes: 0 additions & 13 deletions main/mongo/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion pkg/storages/fs/folder.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func (folder *Folder) Exists(objectRelativePath string) (bool, error) {

func (folder *Folder) GetSubFolder(subFolderRelativePath string) storage.Folder {
sf := NewFolder(folder.rootPath, path.Join(folder.subpath, subFolderRelativePath))
fmt.Println("---------------", sf)
_ = sf.EnsureExists()

// This is something unusual when we cannot be sure that our subfolder exists in FS
Expand Down

0 comments on commit a599d31

Please sign in to comment.