Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

update back-references more aggressively after answering from cache #7578

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

rphmeier
Copy link
Contributor

The issue was that answering a request places request outputs into a pool of "outputs we know about", but those outputs didn't fill unresolved inputs to later requests until a call to fill_unanswered. After answering a request from cache, this function was not being called and thus led to inconsistency.

Should fix #7416

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 16, 2018
@rphmeier rphmeier requested a review from debris January 16, 2018 11:40
@5chdn 5chdn added this to the 1.10 milestone Jan 16, 2018
@rphmeier
Copy link
Contributor Author

rphmeier commented Jan 16, 2018

No idea why CI is failing. A timeout maybe? The tests pass locally.

@debris
Copy link
Collaborator

debris commented Jan 16, 2018

restarted the build

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 16, 2018
@debris debris merged commit c7aed33 into master Jan 17, 2018
@debris debris deleted the fix-7416 branch January 17, 2018 08:45
@5chdn 5chdn added the B0-patch label Feb 9, 2018
@5chdn
Copy link
Contributor

5chdn commented Feb 9, 2018

Needs backport #7833

This was referenced Feb 14, 2018
5chdn pushed a commit that referenced this pull request Feb 14, 2018
* update back-references more aggressively after answering from cache (#7578)

* Add new EF ropstens nodes. (#7824)

* Add new EF ropstens nodes.

* Fix tests

* Add a timeout for light client sync requests (#7848)

* Add a timeout for light client sync requests

* Adjusting timeout to number of headers

* Flush keyfiles. Resolves #7632 (#7868)

* Fix wallet import (#7873)

* rpc: generate new account id for imported wallets

* ethstore: handle duplicate wallet filenames

* ethstore: simplify deduplication of wallet file names

* ethstore: do not dedup wallet filenames on update

* ethstore: fix minor grumbles

* [WASM] mem_cmp added to the Wasm runtime (#7539)

* mem_cmp added to the Wasm runtime

* schedule.wasm.mem_copy to schedule.wasm.mem_cmp for mem_cmp

* [Wasm] memcmp fix and test added (#7590)

* [Wasm] memcmp fix and test added

* [Wasm] use reqrep_test! macro for memcmp test

* wasmi interpreter (#7796)

* adjust storage update evm-style (#7812)

* disable internal memory (#7842)
5chdn pushed a commit that referenced this pull request Feb 14, 2018
* update back-references more aggressively after answering from cache (#7578)

* Flush keyfiles. Resolves #7632 (#7868)

* Fix wallet import (#7873)

* rpc: generate new account id for imported wallets

* ethstore: handle duplicate wallet filenames

* ethstore: simplify deduplication of wallet file names

* ethstore: do not dedup wallet filenames on update

* ethstore: fix minor grumbles

* parity-version pr reopen (#7136)

* parity-version module split from util

removed unused util deps and features

trigger buildbot again

only kvdb links rocksdb

snappy linker issues

* rm snappy

* fixed old version imports

* Move updater metadata to Cargo.toml of parity-version. (#7832)

* Update version.

* Bump parity version.

* Fix version.

* Fix compilation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parity stops; Issue: all back-references to answered requests have been filled
3 participants