|
Author:
{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}
Message: Fix: CDRIVER-4050: Set the correct uploadDate on GridFS files (#818)
- Fix:
CDRIVER-4050: Set the correct uploadDate on GridFS files
Previously used the time from bson_get_monotonic_time(), which is
incorrect on most systems, as it is usually realtive to the system
uptime and is stored as microseconds, whereas uploadDate should be
stored as number of milliseconds since the Unix Epoch.
- Propagate failure from bson_gettimeofday
- Make get_real_time_ms a private API (for now)
- Fix inverted error case and tests on file uploadDate
- Fix test cases that check file uploadDate to use a more precise time
|