Closed petuhovskiy closed 3 months ago
Previously in safekeeper code, new segment file was opened without truncate option. I don't think there is a reason to do it, this commit replaces it with File::create to make it simpler and remove clippy::suspicious_open_options linter warning.
File::create
clippy::suspicious_open_options
functions
32.5% (6866 of 21131 functions)
lines
50.0% (53370 of 106768 lines)
* collected from Rust tests only
Previously in safekeeper code, new segment file was opened without truncate option. I don't think there is a reason to do it, this commit replaces it with
File::create
to make it simpler and removeclippy::suspicious_open_options
linter warning.