Commit Graph

7 Commits

Author SHA1 Message Date
Pavel Aslanov
1a0aaa136a remove MemoryManifest implementation
Summary: `MemoryManifest` is not longer used anywhere

Reviewed By: farnz

Differential Revision: D16148769

fbshipit-source-id: f4e63fed3d56ade122560d271bd5701110c5dab8
2019-07-12 07:31:06 -07:00
Jeremy Fitzhardinge
2ae6f7c3e8 Convert scm/mononoke/blobrepo_utils to Rust 2018
Summary:
Rust 2018 updates to:
  //scm/mononoke/blobrepo_utils:blobrepo_utils
  //scm/mononoke/blobrepo_utils:blobrepo_utils-unittest
  //scm/mononoke/blobrepo_utils:blobrepo_utils_test
  //scm/mononoke/blobrepo_utils:blobrepo_utils_test-rust-build-info-lib

Reviewed By: StanislavGlebik

Differential Revision: D15465939

fbshipit-source-id: fffb4c0383b0b5d0c5288ea8df647ce72f892637
2019-05-28 15:19:49 -07:00
Lukas Piatkowski
08db0a35eb mononoke: pass CoreContext down to bonsai-hg-mapping
Reviewed By: aslpavel

Differential Revision: D13277450

fbshipit-source-id: 97cfbd917b321727bb4d960c91a784787660eb5b
2018-11-30 10:14:22 -08:00
Rain ⁣
06f619717f blobrepo_utils: rename BonsaiVerify to BonsaiMFVerify etc
Summary: This verifier works on manifests -- we'll need other ones for filenodes etc.

Reviewed By: StanislavGlebik

Differential Revision: D9105976

fbshipit-source-id: 939b72b6a3f69b716385315f69a57e91d71a45f3
2018-08-02 12:37:02 -07:00
Rain ⁣
58ca0b1c3f bonsai-verify: add a way to weaken checks for merge commits older than a date
Summary: This is a workaround for buggy commits produced by older versions of treemanifest.

Reviewed By: farnz

Differential Revision: D9018502

fbshipit-source-id: 71f2aeeaee01500a1a73814dc9c4979ef2c79746
2018-07-29 21:21:33 -07:00
Rain ⁣
b42e67a0ed tool to verify bonsai changeset roundtripping
Summary:
The goal of this tool is to verify that bonsai changesets roundtrip with the same hashes. This uses the `ChangesetVisitor` stuff introduced in the previous diff to walk over a specific number of changesets.

I've been using this tool for a few days, and it's shaken out a number of bugs in the Bonsai support in Mononoke, and even found old bugs in Mercurial. So it's been a pretty useful exercise overall.

Reviewed By: farnz

Differential Revision: D8817725

fbshipit-source-id: b6976e8ff9024098c695e82383d98d95b2701e1b
2018-07-23 23:53:10 -07:00
Rain ⁣
8d24accf43 blobrepo_utils: add a parallel changeset visitor
Summary:
This allows parallel walks across thousands of changesets.

In my testing with the Bonsai verification tool this seemed to work well,
keeping my cores saturated almost all the time.

Something to pay attention to is the way cancellation works -- it seems to make
sense, but I could have gotten something subtly wrong :)

Reviewed By: farnz

Differential Revision: D8909719

fbshipit-source-id: f7f47df479431bca05f2cd1508c9c9a4e8a2af50
2018-07-23 14:23:00 -07:00