Closed jananzhu closed 1 year ago
With the latest code in the fancyindx branch's of HSDS and h5pyd, h5pyd will use POST is the select query param has more than 100 characters.
This avoids the 8Kb limit, but depending on how many columns you are indexing and how many different chunks those columns touch, you may get 503 errors from the server (same as if you were doing a large regular hyperslab selection).
The latest update to the fancyindx branch in HSDS fixes the issue with large url request between the SN and DN nodes.
Closing this issue
This was found while testing out the new fancy indexing feature (#47) When indexing into a dataset like
f['coordinates'][:, idx_list, :]
andidx_list
contains more than ~1000 indices, HSDS returns a 400 error.The following error is written to the SN logs:
Looks like we're hitting an 8KB limit on the size of HTTP GET query made to the HSDS server when the index list is too long. There should be a way to make fancy indexing selections via POST so that we're not restricted by this limit.