The code to calculate default memory allocations looks wrong, and FTS needs a part of that memory allocation...
Handwaving the (current) algorithm...
Memory is divided into 5 portions.
A) 3 portions of the 5 are defaulted to KV.
B) Another 3 more portions of the 5 are defaulted to Index (GSI).
So... 3 + 3 == 6, and 6 portions > 5 portions already, so something already feels odd here.
C) 1 more portion of the 5 is defaulted to FTS.
So 3 + 3 + 1 == 7, and 7 > 5, so it's even more fishy. This issue is to figure out the right default memory pro-portion'ing policy across services.
|For Gerrit Dashboard: MB-17571|
|61858,4||MB-18775, MB-17571: default index and fts mem quota to 512 MB||master||ns_server||Status: MERGED||+2||+1|