slachiewicz opened a new pull request, #1912: URL: https://github.com/apache/maven-mvnd/pull/1912
Two registry fixes, one commit each: - A registry that cannot be parsed used to be truncated after its file lock was released, so the reset could wipe a registry another process had just written. The reset now runs under the lock, and the unreadable bytes are kept in `registry.bin.corrupt` (owner-only, since it holds tokens) with a warning naming it. - `registry.bin` now starts with a magic number and a format version, and daemon tokens are read with `readFully`. A file without the header, or with another version, is reset once and the running daemons register again. Released mvnd versions keep their registry in a per-version directory, so they never read the new format. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
