ErrorTimeStamp can occur when file has not changed

Open

File Access
j

johnsanc

2 years ago

Under certain scenarios, RomVault can trigger an error during scanning which shows "ErrorTimeStamp". Its my understanding that RV checks the timestamps of all files in a directory to determine which files have changed and need to be hashed in that directory. It appears that sometimes a file's actual modified time as shown by viewing the properties of the file can differ from the time shown in the Windows Explorer directory view. I believe this discrepancy is causing the ErrorTimeStamp error to occur consistently even if the file has not changed.


Cannot reproduce consistently, but here is what I observed:

  1. Downloaded a file with JD2, which failed and was left in a "invalid download" state and was named with a ".zip.part" extension

  2. Scanned the file and error occurred

  3. Confirmed that the modified timestamp of the file matched exactly what was logged in the cache using the fileDateTime.exe debugging application

  4. Noticed that the modified time in the windows directory view differed from the file properties

  5. Tried to rename the file to confirm it was not locked

  6. Noticed that upon renaming the file, the directory view timestamp for that file was updated to the proper time

  7. Renamed file back to the original name

  8. Rescanned, and this time the file was properly hashed without error


Expected behavior:

  • If they are not already, ideally timestamps should be taken from the same source for all RV actions. ErrorTimeStamp should not occur if the file did not change.


(screenshot)

Activity

G

GordonJ changed the status to Investigating / Planned

2 years ago

l

laromicas

4 quarters ago

I don't know if it helps, but ErrorTimeStamp happened to me when there were two files with the same name but different case (a linux mount or under linux), the entry in the database was duplicated and when scanning and fixing the database were in some kind of inconsistent state.

(Don't know if is the same issue)
What did I do to fix it:

  1. Renamed both files to different names

  2. Rescanned folder

  3. Renamed the dat file

  4. Updated dats

  5. Renamed the dat file to its original name

  6. Updated dats again

  7. Rescanned folder and fixed roms

  8. It fixed the inconsistent state.


j

johnsanc changed the status to Open

2 months ago


Powered by Convas