Description
According to the API [0], the method RevisionGC#startRevisionGC should
@return the status of the operation right after it was initiated
However, it does return succeeded on every call, see [1].
I believe this should either compute the actual state, or return initiated or running.
Same applies for cancelRevisionGC.
[1] https://github.com/apache/jackrabbit-oak/blob/e873825b92faf14b7ef52130c36e6466edcef6b0/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/RevisionGC.java#L105
https://github.com/apache/jackrabbit-oak/blob/e873825b92faf14b7ef52130c36e6466edcef6b0/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/RevisionGC.java#L123