Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 441493 - Lock repository on git stash operations
Summary: Lock repository on git stash operations
Status: CLOSED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 06:00 EDT by Maciej Bendkowski CLA
Modified: 2017-01-10 15:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Bendkowski CLA 2014-08-11 06:00:13 EDT
The JGit api provides a direct api for stash operations including apply, list and drop. As those commands rely on the stash ref, e.g. stash@{0}, this api is not well-suited for a concurrent environment, such as Orion's git support. In order to put ensure consistency, the git stash operations have to be synchronized using a repository lock.
Comment 1 Michael Rennie CLA 2017-01-10 15:41:14 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html