You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing vertices of type Course_offerings with N buckets and thread strategy using N threads should work without throwing org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Concurrent modification on page PageId(1/4) in file 'Course_offerings_0.1.65536.v0.bucket' (current v.5 <> database v.6). Please retry the operation (threadId=70)
or org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Record #10:10328 not found
Actual behavior
One thread is throwing the Concurrent modification exception while the others the Record not found exception
Steps to reproduce
SQL script
CREATE VERTEX TYPE Course_offerings IF NOT EXISTS BUCKETS 10;
ALTER TYPE Course_offerings BucketSelectionStrategy `thread`;
Gremlin query performed by the threads (each thread can perform the query multiple times for the Course_offerings type)
The gremlin query are performed using the java gremlin driver trough the Client.submit(query, params) method.
I've also tried to use the java arcadeddb client transaction then command method, but the T.label input (org.apache.tinkerpop.gremlin.structure) is not parsed correctly and throws the following exception com.arcadedb.remote.RemoteException: Error on executing remote operation command (cause: class org.apache.tinkerpop.gremlin.structure.T$1 cannot be cast to class java.lang.String
Furthermore, by giving the input match label as a string ("T.label ") it is then not interpreted correctly by the remote server that tries to create vertex_types instead of Course_offerings
Even performing ALTER DATABASE arcadedb.typeDefaultBuckets 16 before running the query does not work for vertex_types (it seems to me that is not possible to perform an ALTER DATABASE arcadedb.bucketSelectionStrategy thread to perform the test )
ArcadeDB Version:
docker image arcadedata/arcadedb:24.5.1
OS and JDK Version:
MacOS 14.2.1 (23C71)
Docker 4.17.0
Java 17
gremlin-driver:3.7.2
arcadedb-engine:24.5.1
Expected behavior
Importing vertices of type Course_offerings with N buckets and thread strategy using N threads should work without throwing
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Concurrent modification on page PageId(1/4) in file 'Course_offerings_0.1.65536.v0.bucket' (current v.5 <> database v.6). Please retry the operation (threadId=70)
or
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Record #10:10328 not found
Actual behavior
One thread is throwing the
Concurrent modification exception
while the others theRecord not found exception
Steps to reproduce
SQL script
Gremlin query performed by the threads (each thread can perform the query multiple times for the Course_offerings type)
rows parameter example:
Java Test to reproduce
The text was updated successfully, but these errors were encountered: