JanusGraph / JanusGraph/janusgraph

Allow removing of schema constraints

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

Description

PR #923 introduced schema constraints for vertex and edge properties, as well as for allowed connections of edges. Unfortunately, it's currently not possible with the `ManagementSystem` to remove these constraints when the schema changed.
This means that schema evolvement currently only works in the direction of allowing new constraints but existing ones cannot be removed when they don't match the new schema anymore.

Contributor guide

Open the contributing guide

Research direction

Start by reading PR #923 and the ManagementSystem referenced in the issue to understand how vertex, edge, and allowed-connection constraints are represented. Done means schema evolution can remove constraints that no longer match the new schema, not only add newly allowed constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
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.