Details
-
Bug
-
Resolution: Fixed
-
Minor
-
7.1.2
-
7.1.2-3390
-
Untriaged
-
1
-
No
Description
Basically we are seeing that this insert does not trigger a memory quota exceeded
empty bucket default
curl -v -u Administrator:password http://172.23.104.110:8093/query/service -d 'statement=insert into default (key, value) values("1", { "abcd": { "def": repeat("abcd", 29990), "arr": array_repeat(repeat("efgh", 1000), 5000)}}) returning *&memory_quota=1'
but if we do select * from default; where the only document is above, we are seeing the memory quota is exceeded, but the returning in insert will return the exact same document
insert into default (key a, value v ) select a, { "abcd": { "def": repeat("abcd", 29990), "arr": array_repeat(repeat("efgh", 1000), 5000)}} as v from ["1"] as a returning abcd.def ;
this does trigger memory quota error