In MongoDb4 NoSql appender can't specify a capped collection size bigger than 2GB #1747
Labels
bug
Incorrect, unexpected, or unintended behavior of existing code
Milestone
Description
In MongoDb4 NoSql appender can't specify a capped collection size bigger than 2GB, due to the fact that the property is declared as a 32bits integer and is interpreted as bytes, so the maximum permissible value is 2^31 bytes = 2GB.
MongoDB has no known size limit in capped collections, I just tested it and I have been able to create a capped collection at 100GB without problem.
Configuration
Version: 2.20.0
Logs
The error that appears:
Reproduction
Known workaround
Creating the collection through other means and configuring its capped size seems to work. Then you need to leave out this property from the configuration file.
The text was updated successfully, but these errors were encountered: