Create TabletDirectory classes (#2688)
authorMike Miller <mmiller@apache.org>
Wed, 18 May 2022 15:19:09 +0000 (15:19 +0000)
committerGitHub <noreply@github.com>
Wed, 18 May 2022 15:19:09 +0000 (15:19 +0000)
commit6c5e5683eb8e267aba60e9e93af3ea642cfb9ddb
tree5e50144623220336ad4974290de5b088d692ab65
parentcdc957f222849a110d395addcfb0303109257096
Create TabletDirectory classes (#2688)

* Create TabletDirectory and RelativeTabletDirectory
* Move Reference class and improve it so other classes can be children
* Add validate method to StoredTabletFile
* Use TabletDirectory in TabletFile
* Refactor some GC code
core/src/main/java/org/apache/accumulo/core/metadata/Reference.java [new file with mode: 0644]
core/src/main/java/org/apache/accumulo/core/metadata/RelativeTabletDirectory.java [new file with mode: 0644]
core/src/main/java/org/apache/accumulo/core/metadata/StoredTabletFile.java
core/src/main/java/org/apache/accumulo/core/metadata/TabletDirectory.java [new file with mode: 0644]
core/src/main/java/org/apache/accumulo/core/metadata/TabletFile.java
server/gc/src/main/java/org/apache/accumulo/gc/GCRun.java
server/gc/src/main/java/org/apache/accumulo/gc/GarbageCollectionAlgorithm.java
server/gc/src/main/java/org/apache/accumulo/gc/GarbageCollectionEnvironment.java
server/gc/src/test/java/org/apache/accumulo/gc/GarbageCollectionTest.java