You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peer fails to start when a valid windows path is provided for the snapshot root dir
panic: Error in instantiating ledger provider: invalid path: C:\_SourceCode\github-mine\FabricOnWindows\test-env\data\peer-org1\data\snapshots. The path for the snapshot dir is expected to be an absolute path
Looking at the source code in fabric
if !path.IsAbs(snapshotsRootDir) {
return errors.Errorf("invalid path: %s. The path for the snapshot dir is expected to be an absolute path", snapshotsRootDir)
}
there is an alternative implementation in path/filepath which has platform specific implementations which should be moved to.
(All other IsAbs in the fabric codebase use filepath)
The text was updated successfully, but these errors were encountered:
Peer fails to start when a valid windows path is provided for the snapshot root dir
Looking at the source code in fabric
But in go, path.IsAbs is implemented as
there is an alternative implementation in path/filepath which has platform specific implementations which should be moved to.
(All other IsAbs in the fabric codebase use filepath)
The text was updated successfully, but these errors were encountered: