Done, https://issues.apache.org/jira/browse/CASSANDRA-9413 . Feel free to improve the description, I've only copy/paste the first message from Kévin.
Thanks. On Fri, May 15, 2015 at 9:56 PM, Alprema <alpr...@alprema.com> wrote: > I William file a jira for that, thanks > On May 12, 2015 10:15 PM, "Jack Krupansky" <jack.krupan...@gmail.com> > wrote: > >> Sounds like it's worth a Jira - Cassandra should protect itself from >> innocent mistakes or excessive requests from clients. Maybe there should be >> a timeout or result size (bytes in addition to count) limit. Something. >> Anything. But OOM seems a tad unfriendly for an innocent mistake. In this >> particular case, maybe Cassandra could detect the total row size/slice >> being read and error out on a configurable limiit. >> >> -- Jack Krupansky >> >> On Tue, May 12, 2015 at 1:57 PM, Robert Coli <rc...@eventbrite.com> >> wrote: >> >>> On Tue, May 12, 2015 at 8:43 AM, Kévin LOVATO <klov...@alprema.com> >>> wrote: >>> >>>> My question is the following: Is it possible to prevent Cassandra from >>>> OOM'ing when a client does this kind of requests? I'd rather have an error >>>> thrown to the client than a multi-server crash. >>>> >>> >>> You can provide a default LIMIT clause, but this is based on number of >>> results and not size. >>> >>> Other than that, there are not really great options. >>> >>> =Rob >>> >>> >> >> -- Antoine Blanchet ABC Arbitrage Asset Management http://www.abc-arbitrage.com/ -- ---------------------------------------------------------------------------------------------------- *ABC arbitrage, partenaire officiel du skipper Jean-Pierre Dick // ABC arbitrage, official partner of skipper Jean-Pierre Dick // www.jpdick.com <http://www.jpdick.com>* Please consider your environmental responsibility before printing this email ********************************************************************************* Ce message peut contenir des informations confidentielles. Les idées et opinions presentées dans ce message sont celles de son auteur, et ne représentent pas nécessairement celles du groupe ABC arbitrage. Au cas où il ne vous serait pas destiné,merci d'en aviser l'expéditeur immédiatement et de le supprimer. This message may contain confidential information. Any views or opinions presented are solely those of its author and do not necessarily represent those of ABC arbitrage. If you are not the intended recipient, please notify the sender immediately and delete it. *********************************************************************************