mod-inventory hangs when processing an Instance query resulting in more than 50 Instances being returned from Inventory storage.
The bug seems related to recent optimizations of the handling of instance relationships (ie preceding/succeeding titles) in mod-inventory. In that process, a query for relationships is sent to Inventory storage, OR'ing instance IDs; the more instances in the original result, the longer the query string for relationships - resulting in a "414 URI To Long" at around 50 instances.
The bug was introduced with this commit, I believe: https://github.com/folio-org/mod-inventory/commit/5933b0fff96e4238a1e98eafba540e9a61a59706
This query works:
whereas this, looking up relationships for one additional instance id fails with a 414