Gerrit database query change_id, gerritchange_id

Source: Internet
Author: User

Gerrit database query change_id, gerritchange_id

######################################## ###################### Remote: resolving deltas: 100% (2/2) error: unpack failed: error Missing unknown failed: Unpack error, check server logTo ssh: // newptone@review.ustack.com: 29418/neutron. git! [Remote rejected] HEAD-> refs/publish/datong (n/a (unpacker error) error: failed to push some refs to 'ssh: // newptone@review.ustack.com: 29418/neutron. git '###################################### ###############################
An error similar to this occurs because the original code is deleted, and the old commit of related code on gerrit is not processed. The neutron. git library patch_set in the database cannot find the corresponding object. Solution: log on to the gerrit server and access the database. I use the H2 database java-jar bin/gerrit. war gsql \ dselect * from PATCH_SETS; the ID CREATED_ON | DRAFT | REVISION | region | CHANGE_ID | PATCH_SET_ID region + ------- + region + ----------- + --------------- 15:57:08. 423 | N | 613fd2557fba30aff2dbd51c3807cc57561bab08 | 1000002 | 1 | 1 then update changes set open = 'n', status = 'A' where change_id = 1; status = A (Abandon) check that the submission is no longer available.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.