[ 
https://issues.apache.org/jira/browse/TINKERPOP-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniele Brugnara updated TINKERPOP-2225:
----------------------------------------
    Description: 
I am aware about the option _gremlin.tinkergraph.graphLocation_ that saves on 
disk when the server is terminated.

Here I'm asking about the possibility to add something that saves on disk 
"sometimes".

Something easy like a cron or catching a _SIGUSR1/2_ that simply triggers the 
_saveGraph()_ method, that is now a private function in the 
_org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.java_ file.

I really don't know if the save can be done in a running server, so please 
forgive me if this is simply impossible.

But if could be possible doesn't make sense to you? 

We may adopt this server at least for a preprod environment if I can avoid the 
reboot in order to have persistence ;)

Many thanks.

  was:
I am aware about the option _gremlin.tinkergraph.graphLocation_ that saves on 
disk when the server is terminated.

Here I'm asking about the possibility to add something that saves on disk.

Something easy like a cron or catching a _SIGUSR1/2_ that simply triggers the 
_saveGraph()_ method, that is now a private function in the 
_org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.java_ file.

I really don't know if the save can be done in a running server, so please 
forgive me if this is simply impossible.

But if could be possible doesn't make sense to you? 

We may adopt this server at least for a preprod environment if I can avoid the 
reboot in order to have persistence ;)

Many thanks.


> May be useful an option to save on disk?
> ----------------------------------------
>
>                 Key: TINKERPOP-2225
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2225
>             Project: TinkerPop
>          Issue Type: Wish
>            Reporter: Daniele Brugnara
>            Priority: Minor
>
> I am aware about the option _gremlin.tinkergraph.graphLocation_ that saves on 
> disk when the server is terminated.
> Here I'm asking about the possibility to add something that saves on disk 
> "sometimes".
> Something easy like a cron or catching a _SIGUSR1/2_ that simply triggers the 
> _saveGraph()_ method, that is now a private function in the 
> _org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.java_ file.
> I really don't know if the save can be done in a running server, so please 
> forgive me if this is simply impossible.
> But if could be possible doesn't make sense to you? 
> We may adopt this server at least for a preprod environment if I can avoid 
> the reboot in order to have persistence ;)
> Many thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to