OGM 'remote' mode connection
I am trying to determine if my pyorient graph connection is using remote or if it is possible for it to use 'remote' mode when connecting to my db clusters.
I need this bit of information in order to determine the cause of a bug similar to this:
https://orientdb.com/docs/2.2/Troubleshooting.html#comorientechnologiescommonconcurlockolockexception-file-tmpdatabasesdemodefault0oda-is-locked-by-another-process-maybe-the-database-is-in-use-by-another-process-use-the-remote-mode-with-a-orientdb-server-to-allow-multiple-access-to-the-same-database
when initiating my connection I use something like this:
graph = Graph(
Config.from_url(
"plocal://{}/{}".format(env['ORIENTDB_SERVERS'], env['ORIENTDB_DATABASE']),
env['ORIENTDB_SERVER_USER'],
env['ORIENTDB_SERVER_PASSWORD'],
serialization_type=pyorient.OrientSerialization.Binary
),
env['ORIENTDB_DATABASE_USER'],
env['ORIENTDB_DATABASE_PASSWORD']
)
So far I know I can't change that plocal to remote and use from_url.
I have the same problem ,and I just set it to be plocal, and it works.but set it to be remote ,it does not.actual,the server is remote, I do not kown why