Hi,
I am using the partition strategy in DSE Enterprise 6.8.0.
I am able to add the data using the partition strategy but when I look up for data in the traversal which uses the partition strategy, it does not return anything but instead it returns the required data when I use the traversal which is without the strategy.
But if I follow the same procedure in DSE 6.7.7 it is working fine(gives required data in the traversal with the partition strategy). I am able to add vertex and search it.
I have added the snippets of the schema, partition strategy, adding data, searching data
Schema:
schema.vertexLabel('Person'). ifNotExists(). partitionBy('tenantId',Ascii). clusterBy('id',Ascii, Asc). property('name',Text). create()
Partition Strategy:
gremlin> :remote config alias g test.g ==>g=test.g gremlin> s = PartitionStrategy.build().partitionKey('tenantId').writePartition('Default').readPartitions('Default').create() ==>PartitionStrategy gremlin> gA = g.withStrategies(s) ==>test[Core]
Adding data :
gremlin> gA.addV('Person').property('id','rsurana') ==>v[dseg:/Person/Default/rsurana]
Searching Data using traversal with partition strategy:
gremlin> gA.V() gremlin>
Searching data using the traversal which is without the strategy:
gremlin> g.V() ==>v[dseg:/Person/Default/rsurana]
As it can be seen, I am getting the output in g.V() instead of gA.V()