Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed May 17, 2023
1 parent 8054d4f commit 644a9ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ private void checkValues(Persist persist, String ref, ContentKey key, Content va
throws ReferenceNotFoundException {
VersionStoreImpl store = new VersionStoreImpl(persist);
ReferenceInfo<CommitMeta> main = store.getNamedRef(ref, GetNamedRefsParams.DEFAULT);
soft.assertThat(store.getKeys(main.getHash(), null, true))
soft.assertThat(store.getKeys(main.getHash(), null, false, null, null, null, null))
.toIterable()
.extracting(KeyEntry::getKey, KeyEntry::getContent)
.containsExactly(tuple(key, value));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ HeadsAndForks exportCommits(ExportContext exportContext) {
long startMicors = TimeUnit.MILLISECONDS.toMicros(currentTimestampMillis());

long seq = 0;
try (PaginationIterator<KeyEntry> entries = store.getKeys(ref.getNamedRef(), null, false)) {
try (PaginationIterator<KeyEntry> entries =
store.getKeys(ref.getNamedRef(), null, false, null, null, null, null)) {
while (true) {
List<KeyEntry> batch = take(exporter.contentsBatchSize(), entries);
if (batch.isEmpty()) {
Expand Down

0 comments on commit 644a9ca

Please sign in to comment.