Skip to content

Comments

fix(server): switch rocksdb backend to memory when executing gremlin example#2518

Merged
JackyYangPassion merged 1 commit intomasterfrom
fix-gremlin-console
Apr 12, 2024
Merged

fix(server): switch rocksdb backend to memory when executing gremlin example#2518
JackyYangPassion merged 1 commit intomasterfrom
fix-gremlin-console

Conversation

@VGalaxies
Copy link
Contributor

An error occurs when using Gremlin-Console Stand-alone in offline mode:

Error in scripts/example.groovy at [26: graph.serverStarted(GlobalMasterInfo.master("server-tinkerpop"))] - Failed to update/query server info: java.util.concurrent.ExecutionException: org.apache.hugegraph.backend.BackendException: Table 'hugegraph+v' is not opened

Due to difficulty in pinpointing the cause and considering the above scenario as an example only, the RocksDB backend will be changed to the memory backend.

@imbajin Perhaps the documentation at https://hugegraph.apache.org/docs/clients/gremlin-console/ also needs corresponding adjustments. It is not recommended for users to use it in production environments and is intended for example purposes only.

@VGalaxies VGalaxies requested a review from imbajin April 12, 2024 06:23
@VGalaxies VGalaxies self-assigned this Apr 12, 2024
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working ci-cd Build or deploy gremlin TinkerPop gremlin rocksdb RocksDB backend labels Apr 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.09%. Comparing base (1228dec) to head (5c06a6b).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2518      +/-   ##
============================================
+ Coverage     61.03%   61.09%   +0.05%     
  Complexity      827      827              
============================================
  Files           579      579              
  Lines         46232    46232              
  Branches       6275     6275              
============================================
+ Hits          28219    28246      +27     
+ Misses        15198    15174      -24     
+ Partials       2815     2812       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci-cd Build or deploy gremlin TinkerPop gremlin lgtm This PR has been approved by a maintainer rocksdb RocksDB backend size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants