Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/devp2p: fix upsert check for route53 updates #22536

Closed
wants to merge 1 commit into from

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Mar 19, 2021

Seen on the logs for the discovery crawler/updater:
Updating qd6wjus2wat4hzjkgmgaqy75o4.snap.ropsten.ethdisco.net from "\"enr:-J-4QPbcTYPIVH4eC80nQM2H1KvLbQrSdJ26xba2HIAljMTAMB-Ji_nQTYrjA4yg7LD5mTz6e8f5A3070X92NXf63bmCCsiDZXRox8aEoVfTd4CCaWSCdjSCaXCEgMfDvolzZWNwMjU2azGhAkZPMmeSGTwy2spL1R8LRMvljqtmrRlLdLFEmMxVpE2ThHNuYXDAg3RjcIJ2X4N1ZHCCdl8\"" to "enr:-J-4QPbcTYPIVH4eC80nQM2H1KvLbQrSdJ26xba2HIAljMTAMB-Ji_nQTYrjA4yg7LD5mTz6e8f5A3070X92NXf63bmCCsiDZXRox8aEoVfTd4CCaWSCdjSCaXCEgMfDvolzZWNwMjU2azGhAkZPMmeSGTwy2spL1R8LRMvljqtmrRlLdLFEmMxVpE2ThHNuYXDAg3RjcIJ2X4N1ZHCCdl8"
Where it updates \"foo bar\" with foo bar. So, apparently, it compares the existing value as quoted, and the new value unquoted.

This PR fixes that, which should bring the number of updates down considerably.

@fjl
Copy link
Contributor

fjl commented Mar 25, 2021

Replaced by #22572

@fjl fjl closed this Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants