sshivampeta opened a new pull request, #19003:
URL: https://github.com/apache/iceberg/pull/19003

   RESTSessionCatalog kept requesting pages until the server returned a null 
next-page-token. A server that sends back a token the client has already used, 
such as one that repeats or alternates tokens, caused listTables, 
listNamespaces and listViews to loop forever, sending unlimited requests and 
piling up duplicate results in memory.
   
   Each listing now tracks the page tokens it has used and fails with a 
RESTException when one comes back. Returning a partial listing instead would 
let callers mistake it for a complete result.
   
   Fixes #17755


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to