Description
HIVE-17563 reimplemented metrics using native nio interfaces. It used the assumption that{{Files.move()}} is atomic operation. It turns out that by default it isn't, unless ATOMIC_MOVE option is specified. Otherwise the destination file is unlinked and then the source file is copied.
This may cause test failure since the file may be temporarily unavailable.
Attachments
Attachments
Issue Links
- is related to
-
SENTRY-2035 Metrics should move to destination atomically
- Resolved
- links to