HomePhorge

(PUP-4123) Make EvaluatingParser skip evaluator cache when migrating
489f98555218Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4123) Make EvaluatingParser skip evaluator cache when migrating

The EvaluatingParser has a cached evaluator (to speed up evaluation).
When operating in a context where migration support is wanted, the
evaluator needs to hold on to an instance of the MigrationChecker,
but an instance configured for migration should not be reused.

Before this commit, the migration feature was sticky. Now, a
new instance is returned for each evaluation - this is slower
but correct.

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU489f98555218: (PUP-4123) Make EvaluatingParser skip evaluator cache when migrating (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 19 2015, 4:38 PM