[ 
https://issues.apache.org/jira/browse/LOG4PHP-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541386#comment-13541386
 ] 

Vladimír Gorej commented on LOG4PHP-203:
----------------------------------------

Just to clarify, where the problem was:

There were two tests testing capped collection functionality. First test 
created capped collection with max_size 1000. The second test was trying to 
create collection with max_size 10, but collection with name logs_capped 
already existed, so the old collection with max_size 1000 was used instead.
                
> Capped collections support for Mongo Appender
> ---------------------------------------------
>
>                 Key: LOG4PHP-203
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-203
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 2.3.0
>            Reporter: Vladimír Gorej
>              Labels: features
>             Fix For: develop
>
>         Attachments: capped_collections.patch, capped_collections.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Mongo database now support capped collection. Capped collections are 
> fixed-size collections that support high-throughput operations that insert, 
> retrieve, and delete documents based on insertion order. Capped collections 
> work in a way similar to circular buffers: once a collection fills its 
> allocated space, it makes room for new documents by overwriting the oldest 
> documents in the collection.
> For more information see:  
> http://docs.mongodb.org/manual/core/capped-collections/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to