Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

removes id from push_lowest_slot args (backport #18645) #18649

Merged
merged 2 commits into from
Jul 16, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 13, 2021

This is an automatic backport of pull request #18645 done by Mergify.
Cherry-pick of c90af3c has failed:

On branch mergify/bp/v1.7/pr-18645
Your branch is up to date with 'origin/v1.7'.

You are currently cherry-picking commit c90af3cd6.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   core/src/cluster_slots_service.rs
	modified:   gossip/src/crds_value.rs

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   gossip/src/cluster_info.rs

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

@mergify mergify bot added conflicts automerge Merge this Pull Request automatically once CI passes labels Jul 13, 2021
@solana-grimes
Copy link
Contributor

😱 New commits were pushed while the automerge label was present.

@solana-grimes solana-grimes removed the automerge Merge this Pull Request automatically once CI passes label Jul 13, 2021
@behzadnouri
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Jul 14, 2021

Command rebase: success

Branch already up to date

@behzadnouri behzadnouri force-pushed the mergify/bp/v1.7/pr-18645 branch from 291a83b to e2e927d Compare July 14, 2021 01:47
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Jul 14, 2021
@mergify
Copy link
Contributor Author

mergify bot commented Jul 14, 2021

automerge label removed due to a CI failure

@behzadnouri
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Jul 14, 2021

Command rebase: success

Branch already up to date

@behzadnouri
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Jul 14, 2021

Command rebase: success

Branch already up to date

@behzadnouri behzadnouri force-pushed the mergify/bp/v1.7/pr-18645 branch from e2e927d to 3a76420 Compare July 14, 2021 19:06
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Jul 14, 2021
@mergify
Copy link
Contributor Author

mergify bot commented Jul 14, 2021

automerge label removed due to a CI failure

@behzadnouri
Copy link
Contributor

@Mergifyio rebase

push_lowest_slot cannot sign the new crds-value unless the id (pubkey)
argument passed-in is the same pubkey as in ClusterInfo::keypair(), in
which case the id argument is redundant:
https://github.com/solana-labs/solana/blob/bb41cf346/gossip/src/cluster_info.rs#L824-L845

Additionally, the lookup is done with self.id(), but insert is done with
the id argument, which is logically a bug.

(cherry picked from commit c90af3c)

# Conflicts:
#	gossip/src/cluster_info.rs
@CriesofCarrots CriesofCarrots force-pushed the mergify/bp/v1.7/pr-18645 branch from 3a76420 to 08e3ec9 Compare July 16, 2021 16:45
@mergify
Copy link
Contributor Author

mergify bot commented Jul 16, 2021

Command rebase: success

Branch has been successfully rebased

@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label Jul 16, 2021
@codecov
Copy link

codecov bot commented Jul 16, 2021

Codecov Report

Merging #18649 (08e3ec9) into v1.7 (551dc0a) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##             v1.7   #18649   +/-   ##
=======================================
  Coverage    82.3%    82.3%           
=======================================
  Files         432      432           
  Lines      122553   122547    -6     
=======================================
+ Hits       100870   100891   +21     
+ Misses      21683    21656   -27     

@mergify mergify bot merged commit 4145c62 into v1.7 Jul 16, 2021
@mergify mergify bot deleted the mergify/bp/v1.7/pr-18645 branch July 16, 2021 18:32
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants