View Issue Details

IDProjectCategoryView StatusLast Update
000163810000-011: Historical Accesspublic2012-02-10 17:02
ReporterMark Rice Assigned ToRod Stein  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.02 
Summary0001638: ReadProcessed returning zero aggregate values and continuation point
Description

If a client requests an aggregate configuration that will take a long time to return, the client will timeout if the server tries to calculate the data in one call. The server needs to be able to stop calculating and return if the client timeout hint gets close. In some cases this may require the server to not return any aggregate values because it has not finished calculating the first one. It should return a continuation point that allows it to continue calculating where it left off.

Right now Part 11 section 6.3 states, "The Server shall always return at least one result if it returns a ContinuationPoint."

I propose the following paragraph change:

The Client specifies the maximum number of results per operation in the request Message. A Server shall not return more than this number of results but it may return fewer results. The Server allocates a ContinuationPoint if there are more results to return. The Server may return fewer results due to buffer issues or other internal constraints. It may also be required to return a continuationPoint due to HistoryRead parameter constraints. In some cases the server may not return any results when it returns a continuation point. One example is when an aggregate is taking a long time to calculate. The client should be prepared to handle zero results and a continuation point. For additional discussions regarding ContinuationPoints and HistoryRead please see the individual extensible historyReadDetails parameter sections.

Then we should add specific text at the end of 6.4.4.2 Read processed functionality:

If an aggregate is taking a long time to calculate the server can return partial results with a continuation point. This might be done if the calculation is going to take more time than the client timeout hint. In some cases it may take longer than the client timeout hint to calculate even one aggregate result. Then the server may return zero results with a continuation point that allows the server to resume the calculation on the next client read call.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Rod Stein

2011-05-23 16:53

developer   ~0002741

Changed text at F2F
If an aggregate is taking a long time to calculate and is approaching the timeout time, the server can return partial results with a continuation point. This shall be done if the calculation is going to take more time than the client timeout. In some cases it may take longer than the client timeout to calculate even one aggregate result. Then the server may return zero results with a continuation point that allows the server to resume the calculation on the next client read call.

Rod Stein

2011-09-15 03:24

developer   ~0002993

The server can now return zero values and a continuation point to tell the client that it is still processing.

Randy Armstrong

2011-09-15 20:08

administrator   ~0003007

Reviewed at F2F

Issue History

Date Modified Username Field Change
2011-05-20 00:20 Mark Rice New Issue
2011-05-23 16:41 Randy Armstrong Status new => assigned
2011-05-23 16:41 Randy Armstrong Assigned To => Rod Stein
2011-05-23 16:53 Rod Stein Note Added: 0002741
2011-09-15 03:24 Rod Stein Status assigned => resolved
2011-09-15 03:24 Rod Stein Resolution open => fixed
2011-09-15 03:24 Rod Stein Note Added: 0002993
2011-09-15 20:08 Randy Armstrong Status resolved => closed
2011-09-15 20:08 Randy Armstrong Note Added: 0003007
2012-02-10 17:02 Jim Luth Fixed in Version => 1.02