SuccessChanges

Summary

  1. Move http remote repo classes to its own package (details)
  2. Move PostOrderIterator from repository.impl to remote.http where it's (details)
  3. Speedup PostOrderIterator used for http remotes (details)
Commit c153e838baf8dd44defa2a06aa9ced063007c27b by groldan
Move http remote repo classes to its own package
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/BinaryPackedChanges.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/HttpFilteredDiffIterator.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/BinaryPackedChanges.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpMappedRemoteRepo.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/AbstractRemoteRepo.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/RepositoryWrapper.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpRemoteRepo.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/BinaryPackedObjects.java
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/rest/repository/ApplyChangesResource.java
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/rest/repository/FilteredChangesResource.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/BinaryPackedObjects.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpFilteredDiffIterator.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/HttpUtils.java
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/rest/repository/BatchedObjectResource.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/HttpRepositoryWrapper.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpUtils.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/HttpRemoteRepo.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/CommitTraverser.java
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/rest/repository/SendObjectResource.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/RemoteUtils.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpRepositoryWrapper.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/remote/HttpMappedRemoteRepo.java
Commit 6bafb0a314171676560ba677dc94094b90b55a4e by groldan
Move PostOrderIterator from repository.impl to remote.http where it's
used
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/http/HttpUtils.java
The file was removedsrc/core/src/main/java/org/locationtech/geogig/repository/impl/PostOrderIterator.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/http/BinaryPackedObjects.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/remote/http/PostOrderIterator.java
Commit 5343310d63522e5d2ef329b81f701d27a0195ce6 by groldan
Speedup PostOrderIterator used for http remotes
PostOrderIterator traverses the commit graph resolving reachable objects
by means of the Successors internal chain of responsibility, whose
instances were fetching the RevObject instances from the ObjectDatabase
one by one, resulting in terrible performance.
This patch refactors this single class internals to call
ObjectStore.getAll(Iterable<ObectId>):Iterator<RevObect> as much as
possible without actually changing any of its logic, which by itself
results in a considerable speed up for clone/fetch.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/remote/http/PostOrderIterator.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/porcelain/CloneOp.java