Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use millisecond resolution when comparing timestamps * Use nanos * Round down scan time * Use micros * Update syncing logic with some api changes * Abstract loading from fs logic * Add full syncing logic * Fix need syncing logic * Address comments * Fix lints * add a 1sec sleep Signed-off-by: pushkarm029 <[email protected]> * check Signed-off-by: pushkarm029 <[email protected]> * fmt Signed-off-by: pushkarm029 <[email protected]> * Update fs-storage/src/file_storage.rs Co-authored-by: Kirill Taran <[email protected]> * Update fs-storage/src/file_storage.rs Co-authored-by: Kirill Taran <[email protected]> * Update fs-storage/src/file_storage.rs Co-authored-by: Kirill Taran <[email protected]> * Add doc comments on FileStorage fields * Weird bug in file metadata modified timestamp returned by OS (#71) * File modified metadata bug * Add even smaller test * fix(fs-storage): flush the buffer in write_fs() Signed-off-by: Tarek <[email protected]> --------- Signed-off-by: Tarek <[email protected]> Co-authored-by: Tarek <[email protected]> * Use file writer and update test * cargo fix * Weird bug in file metadata again * Update fs-storage/src/file_storage.rs Co-authored-by: Tarek Elsayed <[email protected]> * Update fs-storage/src/base_storage.rs Co-authored-by: Tarek Elsayed <[email protected]> * Refactor sync_status to cleaner match case Co-authored-by: Tarek <[email protected]> * Add MRE for file metadata timestamp not updated on write_fs * fmt fix * fix(fs-storage): add delay in tests after file write Signed-off-by: Tarek <[email protected]> * Set file modified timestamp from application layer * Fmt fix * Update fs-storage/src/file_storage.rs Co-authored-by: Tarek Elsayed <[email protected]> * Resolve comments * Fix fmt --------- Signed-off-by: pushkarm029 <[email protected]> Signed-off-by: Tarek <[email protected]> Co-authored-by: pushkarm029 <[email protected]> Co-authored-by: Kirill Taran <[email protected]> Co-authored-by: Tarek <[email protected]> Co-authored-by: Tarek Elsayed <[email protected]>
- Loading branch information