New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users

Issue metadata

Status: Released
Owner: ----
Closed: Apr 5
Cc:
Components:



Sign in to add a comment

Two ssh commands (index changes and index projects) do not work with elasticsearch index type

Project Member Reported by borui....@gmail.com, Apr 4

Issue description

*****************************************************************
*****                                                       *****
***** !!!! 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: 2.14

What steps will reproduce the problem?
1. Initialize a Gerrit site with elasticsearch index type instead of lucene by default.
2. Start elasticsearch in the backend.
3. Create a test project (pj) from web UI. 
4. Create two changes (c1 and c2) from web UI.
5. From the command line, enter "ssh -p <port> <host> gerrit index changes c1 c2".
6. From the command line, enter "ssh -p <port> <host> gerrit index project pj4".
7. Query for the two changes with the term "project":"pj" through elasticsearch.

What is the expected output?
These two ssh commands should not produce any error messages as can be seen from the command line. These two changes (c1 and c2) can be found in the index through elasticsearch.

What do you see instead?
Both the commands from step 5 and 6 give the error: "fatal: gerrit: index: not found". These two changes (c1 and c2) cannot be found in the index through elasticsearch.

Please provide any additional information below.
N/a.
 
Project Member

Comment 1 by marco.mm...@gmail.com, Apr 4

Components: Elasticsearch
Project Member

Comment 2 by marco.mm...@gmail.com, Apr 4

Description: Show this description
Project Member

Comment 3 by huga...@gmail.com, Apr 4

Status: Started (was: New)
Project Member

Comment 4 by huga...@gmail.com, Apr 5

Status: ChangeUnderReview (was: Started)
https://gerrit-review.googlesource.com/#/c/gerrit/+/170110/

Comment 5 Deleted

Labels: FixedIn-2.14.8
Status: Submitted (was: ChangeUnderReview)
Cc: marco.mm...@gmail.com
 Issue 8584  has been merged into this issue.
 Issue 8585  has been merged into this issue.
Project Member

Comment 9 by marco.mm...@gmail.com, Apr 10

Why did we need to merge those 2 issues into this very one? -Just so I can be clear for next time; thx.
Labels: FixedIn-2.15.2
Status: Released (was: Submitted)
Status: Submitted (was: Released)
Accidentally set to released because a search for label:FixedIn-2.15 also includes the ones with FixedIn-2.15.2
Status: Released (was: Submitted)

Sign in to add a comment