Skip to content

feat: Implement write-only index state that is not considered for read queries#4919

Open
porunov wants to merge 1 commit into
JanusGraph:masterfrom
porunov:feature/index-states-redesign
Open

feat: Implement write-only index state that is not considered for read queries#4919
porunov wants to merge 1 commit into
JanusGraph:masterfrom
porunov:feature/index-states-redesign

feat: Implement write-only index state that is not considered for rea…

a6af806
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Jul 14, 2026 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- janusgraph-core/src/main/java/org/janusgraph/graphdb/database/management/ManagementSystem.java  15
- janusgraph-core/src/main/java/org/janusgraph/diskstorage/keycolumnvalue/scan/CompletableScanJobFuture.java  13
- janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/MixedIndexStaleEntryRemover.java  23
- janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/StaleIndexEntryRemoveJob.java  24
- janusgraph-test/src/test/java/org/janusgraph/diskstorage/keycolumnvalue/scan/CompletableScanJobFutureTest.java  7
         

Clones added
============
- janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/IndexRemoveJob.java  1
- janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/StaleIndexEntryRemoveJob.java  4
         

See the complete overview on Codacy

Annotations

Check warning on line 92 in janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/MixedIndexStaleEntryRemover.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

janusgraph-core/src/main/java/org/janusgraph/graphdb/olap/job/MixedIndexStaleEntryRemover.java#L92

An instanceof check is being performed on the caught exception.  Create a separate catch clause for this exception type.