Hi , as i have seen objectdb doesnt have auto sharding feature.
But its simple as below algorithm :
ssedano/jump-consistent-hash: Java implementation of the jump consistent hash (github.com)
Also checkout the documents i have given below:
I also added my own feature for objectdb.
But you can extend it more inside the core.