Issue raised by: Roar Foshaug; [email protected]; Thu, 6 Feb 1997 11:37:38 +0100
May a server return a presentStatus of partial-4 in the searchResponse, ie: "Not all records can be returned because the request was terminated by resource control, by the target"? Does this require the resource-control option bit in init?
May a server use the partial-4 status to indicate non-support for piggybacking?
Partial-4 may be indicated when the target simply terminates the operation, unilaterally, perhaps because resources at the target are limited, but not as a result of a Resource-control response indicating "do not continue". Partial-4 does not require that resource control be negotiated.
If, in contrast, partial-3 is indicated ("not all records can be returned because the request was terminated by resource control, at origin request"), this implies that either (1) the target sent a resource control request to which the origin responded "do not continue", or (2) the origin issued a TriggerResourceControl request to terminate the operation. So this means that Resource Control or Trigger Resource control (for cases 1 and 2 respectively) must have been negotiated.
However, the agreed-upon behavior to indicate non-support for piggybacking, is to supply a Search Status of 'success', Present Status of 'failure' and a diagnostic, either 1005 ("Response records in Search response not supported") or 1006 ("Response records in Search response not possible for specified database (combination)"). See Piggyback Search/Present Support