2752: Resumed collection writer doesn't do_queued_work immediately.
authorBrett Smith <brett@curoverse.com>
Thu, 29 May 2014 20:36:14 +0000 (16:36 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 30 May 2014 14:40:10 +0000 (10:40 -0400)
commit6d23a7362308b808a10b698c84a022287d1668a6
tree7b37678e2a838d772040483f28943bd196cbf9fe
parent8b7ea9235e5761beab0dbc92d9c400574f672a15
2752: Resumed collection writer doesn't do_queued_work immediately.

As noted in the comments, callers that build a writer from resumed
state must do_queued_work on it before anything else.  But this split
makes it easier to treat initialization problems and work problems
separately, which is critical.

This required refactor progress reporting a bit.
sdk/python/arvados/collection.py
sdk/python/arvados/commands/put.py
sdk/python/tests/test_arv-put.py