You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/12 08:22:39 UTC

[jira] [Commented] (S2GRAPH-24) Add counter config for readonly graph

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

ASF GitHub Bot commented on S2GRAPH-24:
---------------------------------------

GitHub user hsleep opened a pull request:

    https://github.com/apache/incubator-s2graph/pull/1

    S2GRAPH-24: Add counter config for readonly graph

    Modifications:
    Add `GRAPH_READONLY_URL` on `s2.config.StreamingConfig`
    Add `GRAPH_READONLY_URL` on `s2.config.S2CounterConfig`
    change `s2.counter.core.v2.*StorageGraph` to use the value `GRAPH_READONLY_URL`.
    
    Result:
    If we set `s2graph.read-only.url` on application.conf for s2counter_loader. We can read data from the read-only server.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsleep/incubator-s2graph feature/S2GRAPH-24

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-s2graph/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1
    
----
commit 2896245366ec78b864e3656e693576b378233d7e
Author: Jaesang Kim <ja...@apache.org>
Date:   2016-01-12T07:09:28Z

    S2GRAPH-24: Add counter config for readonly graph

----


> Add counter config for readonly graph
> -------------------------------------
>
>                 Key: S2GRAPH-24
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-24
>             Project: S2Graph
>          Issue Type: Improvement
>            Reporter: Jaesang Kim
>            Assignee: Jaesang Kim
>            Priority: Minor
>
> Motivation:
> S2Counter use the s2graph as the storage of counting values.
> In some cases, the graph servers are separated into write-only and read-only servers. However, counter use the only one config for the graph url. So, we need to add a additional config for read-only graph server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)