Hi Rick, Is there any Issue logged with neo4j for this?
Thanks, Sumit On Wed, Apr 29, 2015 at 11:07 PM, cui r <[email protected]> wrote: > No, I am not using webadmin shell, since I am aware of the fact that it's > obsolete. I just use the web interface. (/browser) > > One of my colleagues did another test yesterday and was able to LOAD CSV > to a read node. Separately, this is confirmed by the Neo4j support team. > The issue we run into last week was, if we LOAD CSV to a slave node, then > the data is not immedidately populate to other nodes so the count of the > data on all nodes are different(we have a 3 node cluster). We saw this > twice. I'll try to recreate this case in a small scale (since our data size > is kind of large). > > Appreciate Sumit. > > On Wednesday, April 29, 2015 at 7:27:14 AM UTC-4, Sumit Gupta wrote: >> >> Hi Rick, >> >> I think you are using "shell" which is packaged with "webadmin"? Correct? >> >> "webadmin" is obsolete and you should not use it anymore. >> >> Even i tried with Webadmin too and still not able to insert data (using >> "Load CSV") for read only nodes. >> >> Are you able to replicate it constantly? i mean are you able to insert >> data repeatedly or was it just once and after that it never happened? >> >> Thanks, >> Sumit >> >> >> On Tue, Apr 28, 2015 at 8:52 PM, cui r <[email protected]> wrote: >> >>> Hi Sumit, >>> >>> Thanks for the comment. >>> >>> We were not using neo4jshell at all. We run into this issue with the web >>> console. >>> We use 2.2.0 enterprise. >>> >>> Rick >>> >>> On Friday, April 17, 2015 at 10:52:19 PM UTC-4, Sumit Gupta wrote: >>>> >>>> I remember that with 2.1.5 and it respects read_only attribute for >>>> slaves too. >>>> >>>> Though i haven't tried but in a cluster LOAD_CSV should also redirect >>>> all of its writes to Master Node unless you are connecting neo4jshell with >>>> "--path" attributes. >>>> >>>> Let me know your Neo4j version and I can check it out. >>>> >>>> Thanks, >>>> Sumit >>>> neo4j.com/books/neo4j-essentials/ >>>> >>>> On Friday, 17 April 2015 21:57:45 UTC+5:30, cui r wrote: >>>>> >>>>> Thanks. >>>>> >>>>> Actually, the slaves are not read-only for LOAD CSV. Somehow load csv >>>>> slipped through into slaves by one of our developers. >>>>> And the change are not populated to all nodes, the first read returns >>>>> 53 nodes, and the second read returns 29 nodes. >>>>> >>>>> read_only=true set all nodes, including master, to read-only. But we >>>>> still want master to be writable. >>>>> >>>>> >>>>> On Friday, April 17, 2015 at 4:02:02 AM UTC-4, Sumit Gupta wrote: >>>>>> >>>>>> >>>>>> Set this in your neo4j.properties "read_only=true" >>>>>> >>>>>> But logically your slaves are always read-only in cluster Mode "for >>>>>> the clients/ end users". Though they can accept write request but they >>>>>> re-direct those request to Master Node. >>>>>> >>>>>> All Write transactions are Handled by Master only and then data is >>>>>> replicated from Master to Slave nodes. >>>>>> >>>>>> Thanks, >>>>>> Sumit >>>>>> neo4j.com/books/neo4j-essentials/ >>>>>> >>>>>> >>>>>> On Friday, 17 April 2015 02:15:14 UTC+5:30, cui r wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> What's the configuration to set slave nodes to read-only in a >>>>>>> cluster? I couldn't find it in the doc and googling. >>>>>>> >>>>>>> Any pointer is appreciated. >>>>>>> >>>>>>> Rick >>>>>>> >>>>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Neo4j" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/neo4j/Ok7fUgN5HKc/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Neo4j" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/neo4j/Ok7fUgN5HKc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
