You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a more authoritative reference, you can take a look at the messages and comments in ql2.proto. Use a version tag to get the information for a specific version, for example git show v1.8.0:src/rdb_protocol/ql2.proto for RethinkDB 1.8.0.
Thanks @AtnNn, this is quite helpful for seeing the changes to the wire protocol. Is there anywhere describing the differences in behaviour between v03 and v04?
Note: All instructions below assume a protocol of V0_3 or higher.
Starting with RethinkDB 2.0 (V0_4), the server will process multiple queries in parallel rather than sequentially, and there is no guarantee that a read following a write on the same connection will “see” the results of the write as long as it’s successful.
Is there any more discussion on this behaviour, and are there any other changes to the behaviour of the spec between V0_3 and V0_4?
Looking at the 2.0.0 release notes I couldn't see any mention of the new protocol.
Really appreciate the work you guys do, thanks for your hard work.
While I think this isn't critical, I agree that the dev mailing list is not easy enough to discover given how useful the driver release posts are for keeping a driver up to date.
Maybe not, they're in the form of patches from one version to the next and thus not all that useful as general documentation. (Also, you can browse them in the google group.)
Activity
AtnNn commentedon May 19, 2015
We don't keep docs for older versions of the driver protocol. There are however plans to start keeping old docs around (#665).
You can find old versions of the driver spec using
git log:https://github.com/rethinkdb/docs/commits/master/1-get-started/drivers/writing-drivers.md
https://github.com/rethinkdb/docs/commits/master/1-get-started/drivers/driver_protocol.md
For a more authoritative reference, you can take a look at the messages and comments in
ql2.proto. Use a version tag to get the information for a specific version, for examplegit show v1.8.0:src/rdb_protocol/ql2.protofor RethinkDB 1.8.0.https://github.com/rethinkdb/rethinkdb/commits/master/src/rdb_protocol/ql2.proto
I believe that the protobuf_rfc_raw_spec page on the old wiki was simply an early version of
ql2.proto.danielcompton commentedon May 19, 2015
Thanks @AtnNn, this is quite helpful for seeing the changes to the wire protocol. Is there anywhere describing the differences in behaviour between v03 and v04?
from http://rethinkdb.com/docs/writing-drivers/ implies that unless otherwise stated V0_3 and V0_4 have the same connection behaviour.
Is there any more discussion on this behaviour, and are there any other changes to the behaviour of the spec between V0_3 and V0_4?
Looking at the 2.0.0 release notes I couldn't see any mention of the new protocol.
Really appreciate the work you guys do, thanks for your hard work.
EDIT: at the end of writing this post I found https://groups.google.com/d/msg/rethinkdb-dev/3qxVOW05Y58/5hdYK7qSIOgJ which looks like what I was after. This is great but not particularly discoverable.
AtnNn commentedon May 19, 2015
The rethinkdb-dev post you link to describes all the differences introduced by RethinkDB 2.0 (aka V0_4).
Although the RethinkDB release notes do not mention the version V0_4 bump, it does mention all the changes to the protocol.
As you've discovered, the changes that affect drivers are posted to the mailing list, as described in the writing-drivers article:
Although it is not in the repo, it serves as a separate changelog for those changes. Perhaps we could make it easier to discover.
danielmewes commentedon May 20, 2015
While I think this isn't critical, I agree that the dev mailing list is not easy enough to discover given how useful the driver release posts are for keeping a driver up to date.
@chipotle Do you think we could have a more prominent box closer to the top of http://rethinkdb.com/docs/writing-drivers/ to point to the mailing list? Something along the lines of "Join the RethinkDB-Dev Google Group to receive updates on protocol changes."?
chipotle commentedon May 20, 2015
That seems reasonable.
deontologician commentedon May 20, 2015
Could we post the per-release driver developer notes that @mlucy sends out on the site somewhere?
mlucy commentedon May 20, 2015
Maybe not, they're in the form of patches from one version to the next and thus not all that useful as general documentation. (Also, you can browse them in the google group.)