JanusGraph / JanusGraph/janusgraph

janusgraph does not re-check hostname/ip resoultion when re-opening graph

Open
#1,191 2 comments 5 reactions 0 assignees View on GitHub
kind/enhancement
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

We run janusgraph with Casssandra in kubernetes. If the Cassandra container is deleted for whatever reason, it comes back with a new IP address.

janusgraph is configured to connect to Cassandra by a hostname my_cassandra. When we try to open the graph again after the ip address is changed, janusgraph continues to try to connect to the old ip address of Cassandra, it does not re-resolve the ip address of the hostname my_cassandra.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Reproduce the failure by reopening a graph after the Cassandra container receives a new IP, then trace the graph-reopen connection path and verify that the hostname is resolved again so the graph connects to the new address.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, java, kubernetes
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.