UML sequence diagrams on Wiki for explaining read/write path

2015-11-25 Thread Michael Edge
Hi, I'd like to update the read/write path description on the wiki (see link below) by adding a couple of UML sequence diagrams I drew a while ago. I think they are much better than long textual descriptions for describing the order of operations on components. Before publishing them I'd prefer a

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-11-25 Thread Michael Shuler
On 11/25/2015 07:36 PM, Michael Edge wrote: > I'd like to update the read/write path description on the wiki (see link > below) by adding a couple of UML sequence diagrams I drew a while ago. I > think they are much better than long textual descriptions for describing > the order of operations on c

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-11-29 Thread Michael Edge
Write path docs updated on Wiki - please review diagram/text and let me have your comments (or update text in place). https://wiki.apache.org/cassandra/WritePathForUsers Cheers, Michael On 26 November 2015 at 11:25, Michael Shuler wrote: > On 11/25/2015 07:36 PM, Michael Edge wrote: > > I'd l

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-11-30 Thread Jack Krupansky
Great stuff! You wrote "When the replica node comes back online the coordinator node will send the data to the replica node", which is partially true - if the replica comes back online within the timeout window of three hours. So, you probably want to say something like: "If the replica node come

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-11-30 Thread Michael Edge
Thanks for the feedback guys. I've made the updates. On 1 December 2015 at 00:56, Jack Krupansky wrote: > Great stuff! > > You wrote "When the replica node comes back online the coordinator node > will send the data to the replica node", which is partially true - if the > replica comes back onli

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-11-30 Thread Michael Edge
Read Path ready for review: https://wiki.apache.org/cassandra/ReadPathForUsers On 1 December 2015 at 10:30, Michael Edge wrote: > Thanks for the feedback guys. I've made the updates. > > On 1 December 2015 at 00:56, Jack Krupansky > wrote: > >> Great stuff! >> >> You wrote "When the replica no

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-12-01 Thread Jack Krupansky
I just remembered... the new Materialized View support in 3.0 - writes to the materialized views get triggered when a write occurs to the base table. That needs to be in the write path flow/description as well. -- Jack Krupansky On Mon, Nov 30, 2015 at 9:30 PM, Michael Edge wrote: > Thanks for

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-12-01 Thread Michael Edge
Yes - good point. I've updated the text for the write path page below - could you please review? Once my understanding is correct I'll update the sequence diagram to match. https://wiki.apache.org/cassandra/WritePathForUsers On 1 December 2015 at 22:51, Jack Krupansky wrote: > I just remembere

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-12-02 Thread Jack Krupansky
Thanks. I took a quick look and it seems fine, but... I don't have the depth of expertise in that code to be 100% sure of each detail. Hopefully Carl or Jake, et al can review. One additional point on MV: When a new MV is created for a base table that is already populated, that kicks off a backfil

Re: UML sequence diagrams on Wiki for explaining read/write path

2015-12-03 Thread Michael Edge
Thanks for reviewing and providing comments. I've created links on the Wiki front page for the Read/Write path pages. Details on MV population are probably better left to another page, so I'll leave those for now. One thing I'm unclear on in the Read Path is the relationship of Table to MemTable: