-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the resource limits consistent after changing states (#140)
* Refactor file rotation and size tracking Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix -Wall warnings Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply the resource-limits independently of state transitions Signed-off-by: tempate <danieldiaz@eprosima.com> * Generalize the FileTracker and the OutputSettings Signed-off-by: tempate <danieldiaz@eprosima.com> * Format bytes before printing them Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply self-suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Avoid openning files when there is not enough space to close them empty Signed-off-by: tempate <danieldiaz@eprosima.com> * Refactor the exceptions thrown and caught Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix double-t misspelling of writing Signed-off-by: tempate <danieldiaz@eprosima.com> * Improve readability of add_schema Signed-off-by: tempate <danieldiaz@eprosima.com> * Minor irrelevant fixes Signed-off-by: tempate <danieldiaz@eprosima.com> * Retry to write data after a FullFileException Signed-off-by: tempate <danieldiaz@eprosima.com> * Throw InconsistencyException instead of calling tsnh Signed-off-by: tempate <danieldiaz@eprosima.com> * Minor fixes to pass the tests Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix the McapWriter's DllAPI tags for Windows Signed-off-by: tempate <danieldiaz@eprosima.com> * Close MCAP's writer before renaming the file Signed-off-by: tempate <danieldiaz@eprosima.com> * Save the recording version in the VERSION_METADATA_RELEASE tag Signed-off-by: tempate <danieldiaz@eprosima.com> * Rename Message to McapMessage Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Uncrustify Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply more suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> --------- Signed-off-by: tempate <danieldiaz@eprosima.com>
- Loading branch information
Showing
36 changed files
with
2,072 additions
and
1,314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.