My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3313: Can't get informations using gerrit stream-events
2 people starred this issue and may be notified of changes. Back to list
Status:  AwaitingInformation
Owner:  ----


Sign in to add a comment
 
Reported by timothy.redaelli, Apr 17, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:

What steps will reproduce the problem?
1. Use "gerrit stream-events"
2. Try to get some informations (gerrit query --format JSON --current-patch-set --files or using the REST APIs) about the new Change as soon as a 'patchset-created' events arrive

What is the expected output?
The information is correctly retrieved

What do you see instead?
The information is not available (Not Found error) and you need to poll or wait for several seconds in order to get the requested information.

Please provide any additional information below.
I think the information should be available when the 'patchset-created' is generated.
The workaround of doing polling or wait several seconds does not scale and it's an horrible workaround.
Apr 17, 2015
Project Member #1 edwin.ke...@gmail.com
Which Gerrit version is this?
Status: AwaitingInformation
Apr 17, 2015
#2 timothy.redaelli
gerrit version 2.10.2

Apr 17, 2015
Project Member #3 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: New
May 5, 2015
Project Member #4 edwin.ke...@gmail.com
Might be fixed by [1] which is included in 2.11.
Can you check whether this problem is fixed with 2.11?

[1] https://gerrit-review.googlesource.com/61061
Status: AwaitingInformation
Sign in to add a comment

Powered by Google Project Hosting