Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestoreFileVersion & ListFileVersions on local driver #3927

Open
piotrWichlinskiSoftwaremind opened this issue Jun 1, 2023 · 1 comment
Open

Comments

@piotrWichlinskiSoftwaremind

There is a problem with RestoreFileVersion and ListFileVersions on the local driver. File versions on the local driver are stored in .shadow folder and every file version that is stored is a file with the name format vTIMESTAMP
When I list file versions the key is just a timestamp (without a 'v' prefix).
While restoring the file version key does not work, I get

status {
 code: CODE_NOT_FOUND
 message: "path not found when restoring file versions"
 trace: "762800556266f1c89d0bdc4fb1093e71"
}

REVA is searching for a version file with only a timestamp. I have to manually add the prefix 'v' to the key for this to work

@labkode
Copy link
Member

labkode commented Jun 1, 2023

@piotrWichlinskiSoftwaremind you should not be using the local driver (is just a toy implementation) but the official connectors to the OC/NC instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants