[bug?] Maxitems can't return expected items? #4174
              
                Unanswered
              
          
                  
                    
                      robinsujob
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| Hello! Reopening this discussion to make it searchable. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team, could you pls give me some advice what is the meaning of MaxItems, I’m doing a test, but I found that Maxitems seems to be the maximum items returned by the current page. I think is not totally return count of all. Also, the testing results seem weird...
This bucket has 134 objects.
When I set
MAX_ITEMS=20
PAGE_SIZE=50
The results:
iterative call: 3
len(object_list) 60
When I set
MAX_ITEMS=50
PAGE_SIZE=20
The results:
iterative call: 52
len(object_list) 1528
When I set
MAX_ITEMS=50
PAGE_SIZE=50
The results:
iterative call: 3
len(object_list) 134
When I set
MAX_ITEMS=200
PAGE_SIZE=200
The results:
iterative call: 1
len(object_list) 134
Beta Was this translation helpful? Give feedback.
All reactions