Bug 865632 - RFE: Create Async push service for Source and target documents.
Summary: RFE: Create Async push service for Source and target documents.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven, Usability
Version: 1.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.0
Assignee: Carlos Munoz
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-11 23:17 UTC by Carlos Munoz
Modified: 2012-11-07 06:18 UTC (History)
1 user (show)

Fixed In Version: 1.8.0-SNAPSHOT (20121022-1434)
Doc Type: Enhancement
Doc Text:
Feature: The Push (source and target) features of the maven client have been enhanced to use an asynchronous mechanism. The client will initiate a push action and wait until the server has completed the action before proceeding. Furthermore, and to prevent conflicts, the client will now wait before starting to push if any other client is pushing the exact same document (document and locale in the case of translations). Reason: This new feature prevents conflicts when two users are pushing the same data simultaneously. It also prevents HTTP timeouts from the server when pushing large documents. Result (if any): The maven client is now able to push larger documents to the server without encountering timeout limits set by the http server (if there is one present). The client is also able to detect (and wait for) other clients pushing the same information.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-07 06:18:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Carlos Munoz 2012-10-11 23:17:10 UTC
Description of problem:
When pushing long source or target documents, the maven client might hit a restriction from the webserver while waiting for a response. In this case, the client will report an error, but the push will continue in the server. A subsequent attempt to push will result in race conditions with the two requests going for the same resources.

In order to solve this, a new asynchronous push service should be created where documents can be pushed and left with the server for processing. The client will then continuously poll until the server is done.

Additionally, the server should prevent two users from pushing the same document simultaneously.


Version-Release number of selected component (if applicable):
1.7

How reproducible:
With relatively large documents.

Comment 3 Ding-Yi Chen 2012-10-22 06:28:07 UTC
VERIFIED with Zanata version 1.8.0-SNAPSHOT (20121022-1434)
[INFO] client API version: 1.8.0-SNAPSHOT, server API version: 1.8.0-SNAPSHOT

Comment 4 Sean Flanigan 2012-11-07 06:18:29 UTC
Fix released in Zanata 2.0.


Note You need to log in before you can comment on or make changes to this bug.