Project

General

Profile

Actions

Bug #6272

closed

[Keep] keepstored index response should have an EOF marker to enable the client to detect an incomplete response.

Added by Tom Clegg over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
0.5

Description

The response size is not known when the headers are written, so (without an EOF marker) it is impossible for the client to detect the difference between "response was truncated at a newline character" and "complete response was received".

Implementation:
  • keepstore writes ".\n" at the end of the index response.
  • data manager throws an error (more or less equivalent to "keep node unreachable"?) if it doesn't see the EOF marker.

Subtasks 1 (0 open1 closed)

Task #6296: Review 6272-index-eofResolvedPeter Amstutz06/11/2015Actions
Actions #1

Updated by Tom Clegg over 9 years ago

  • Description updated (diff)
  • Project changed from 35 to Arvados
  • Category set to Keep
Actions #2

Updated by Brett Smith over 9 years ago

  • Target version changed from Arvados Future Sprints to 2015-07-08 sprint
Actions #3

Updated by Tom Clegg over 9 years ago

  • Description updated (diff)
Actions #4

Updated by Tom Clegg over 9 years ago

  • Description updated (diff)
Actions #5

Updated by Tom Clegg over 9 years ago

  • Assigned To set to Tom Clegg
Actions #6

Updated by Peter Amstutz over 9 years ago

Just one comment, maybe terminate with just an extra newline (similar to the way HTTP headers are terminated) instead of "."?

Actions #7

Updated by Tom Clegg over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:4d0e87db2bef1f30634d28338e89227b985e6485.

Actions

Also available in: Atom PDF