Comments (5)
I scrolled through the issue list in this repo and found a post that has similar bug:
https://github.com/JanusGraph/janusgraph/issues/2433#issuecomment-878311810
He provided a workaround which is removing Mixed index backend in graph configuration, I will use that work around for now.
from janusgraph.
I think this is really something that should be fixed in 1.0.0. The problem before 1.0.0 was that JanusGraph used the same mixed index in Elasticsearch for all graphs created by the ConfiguredGraphFactory
. This has been changed in 1.0.0. JanusGraph now uses the graph.graphname
as the name of the index for Elasticsearch by default.
So, before 1.0.0, JanusGraph couldn't only delete mixed indices of one graph since they weren't stored separately.
I'm just wondering why this isn't happening consistently for you. Do you maybe simply have some indices that are not present in all of your graphs?
But in general, please check whether this works as expected with JanusGraph 1.0.0.
from janusgraph.
@FlorianHockmann Thank you so much for your reply! From the release note you referenced it says same Elasticsearch index is used for all graphs if the same index names were used across different graphs, well in my case I always use unique index name for each graph. If delete graph works properly, it should only delete the mixed index that matches the names, which are the indices belongs to the graph, right?
And yes, this problem happens randomly for me, because there are times where ConfiguredGraphFactory.drop()
deleted the correct indices, so I guess it was a bug?
Since the graph database is used in production, updating to 1.0.0 is something we want to avoid. We will still test this in 1.0.0 in a testing environment.
Do you know if there is a configuration that can disable mixed index deletion? That would solve the issue since we are ok to delete the indices manually. I looked through the configuration and I cannot find it, so maybe you can enlighten me, thanks!
from janusgraph.
If you have a test which reproduces the problem it would be much more efficient and faster to fix.
Some things to notice:
- Any release below 1.0 are EOL. Meaning new bug fixes are not pushed automatically to those releases. However, maintainers don’t object to backport those fixes if users open PRs on the relative branches (v0.6 in your case).
- As far as I remember JanusGraph below 1.0 didn’t have ability to remove the indices (a.k.a. tables) from ElasticSearch. Thus, if the bug on JanusGraph side then it would remove mixed index from the schema only and not delete actual data from ElasticSearch. Thus, as a workaround, you can create your missing indices with the same names you used and they will use the existing data from ElasticSearch (unless you manually removed data from ElasticSearch).
from janusgraph.
from janusgraph.
Related Issues (20)
- @EMRAN19933
- Faky CQL Test: testGotGIndexRemoval
- Publishing commit releases is failing repeatedly
- Full-Text HOT 1
- Flaky CQL Index test: testRepairGraphIndex
- Some text predicates (mostly negations) not supported by serializer
- QueryBackPressureTest regularly times out on GHA
- Node created failed when adding a label "L" HOT 1
- Equivalent queries create a different number of nodes HOT 1
- “SKIP” causes side effects and the node creation failed. HOT 1
- Node created failed when adding path variable HOT 1
- Creating node failed when removing CASE WHEN HOT 1
- Creating node failed when adding "WITH *" HOT 1
- Error about a complex gremlin query HOT 1
- Different behaviors when adding "dedup()" HOT 10
- When I dropping Dynamic Graph will be hang up, what can I do to dropped it HOT 2
- Publish SBOM
- Concerning warnings about missing classes when using JanusGraph 1.0.0 with CQL in embedded mode
- The bug getting edge attributes based on edge ids
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from janusgraph.