Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geogig-dev] Question about geogig server

After looking into this a bit more, I believe the issue is that you are using ``geogig serve`` for a RocksDB backed repo, and while that process is running, trying to use the CLI on the same repo. You can't do that with RocksDB backed repositories as the RocksDB libraries lock the database. Once the ``serve`` command starts, that process will put a lock on the database and you won't be able to run any other process that tries to access it, including an instance of the CLI.

I've re-purposed the GitHub issue to try to make the error message more informative: https://github.com/locationtech/geogig/issues/309

Erik Merkle
Software Engineer | Boundless


On Tue, May 16, 2017 at 1:26 PM, Joselânio Ferreira de Morais <lanio.morais@xxxxxxxxx> wrote:

After some testing I noticed a pattern in the error.
The exception always occurs when starting geogig serve --multirepo and then accesses the repository address: http://localhost:8182/repos/demo.

Then if you try to do any shp import, add or commit operation the error will be returned:

Exception in thread "main" java.lang.RuntimeException: org.rocksdb.RocksDBException:
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at org.locationtech.geogig.rocksdb.RocksConnectionManager.connect(RocksConnectionManager.java:121)
at ........

However if we finish the process responsible for the server, everything returns to normal.

a

Am I doing something wrong? Or it really is a bug!


_______________________________________________
geogig-dev mailing list
geogig-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geogig-dev


Back to the top