[ 
https://issues.apache.org/jira/browse/TINKERPOP-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18124738#comment-18124738
 ] 

ASF GitHub Bot commented on TINKERPOP-3282:
-------------------------------------------

spmallette commented on code in PR #3639:
URL: https://github.com/apache/tinkerpop/pull/3639#discussion_r4212125112


##########
tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/storage/AbstractLogStorage.java:
##########


Review Comment:
   Added `gremlin.tinkergraph.storage.recover` in cf98a77b14. It opens a 
damaged store read-only with everything still readable: log replay stops at the 
first bad transaction, unreadable snapshot elements are skipped along with 
edges that lose an endpoint, and a warning lists what was left out. The files 
are left untouched so the graph can be exported with `g.io()`. For a 
format-version mismatch, the error now says to open the store with the 
TinkerPop version that wrote it and export from there. Can probably improve on 
this in the future.





> TinkerGraph file persistence
> ----------------------------
>
>                 Key: TINKERPOP-3282
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3282
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: tinkergraph
>    Affects Versions: 3.7.6
>            Reporter: Stephen Mallette
>            Assignee: Stephen Mallette
>            Priority: Major
>
> Give TinkerGraph a basic file persistence option tied to its transactional 
> usage so that it can support some more complex use cases.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to