JanusGraph / JanusGraph/janusgraph

add index failed and no errors

Open
#1,769 1 comment 0 reactions 0 assignees View on GitHub
area/index
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

janusGraph 0.4.0
built-in elasticsearch
storage.backend=berkeleyje

when i create Composite index ,index of the status INSTALLED to conver to REGISTER never success is true .and have no error log (elasticsearch ,gremlin-server)

all of the Transactions is closed

watch the
https://docs.janusgraph.org/latest/index-admin.html
36.1.5.1. Example for JanusGraphManagement

this is my step

gremlin> mgmt = graph.openManagement()
==>org.janusgraph.graphdb.database.management.ManagementSystem@52657d5f
gremlin> name = mgmt.getPropertyKey('name')
==>name
gremlin> byName = mgmt.getGraphIndex('byNameComposite')
==>byNameComposite
gremlin> status = byName.getIndexStatus(name)
==>INSTALLED
gremlin>

gremlin> ManagementSystem.awaitGraphIndexStatus(graph, 'byNameComposite').status(SchemaStatus.REGISTERED).call()
==>GraphIndexStatusReport[success=false, indexName='byNameComposite', targetStatus=[REGISTERED], notConverged={name=INSTALLED}, converged={}, elapsed=PT1M0.061S]

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction commands in the issue and the linked JanusGraph index administration documentation, focusing on ManagementSystem.awaitGraphIndexStatus and the INSTALLED-to-REGISTERED transition. Reproduce the byNameComposite status with the stated JanusGraph 0.4.0, BerkeleyJE, and built-in Elasticsearch setup; done means the cause is identified with useful error evidence or the index reaches REGISTERED.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.