Comments (9)
Sigh I remember explicitly making this work. It seems as if the flag is just getting ignored. Will look in to this.
from rethinkdb.
Thanks Joe.
-----Original Message-----
From: Joe Doliner [email protected]
Date: Tue, 13 Nov 2012 11:33:41
To: rethinkdb/[email protected]
Reply-To: rethinkdb/rethinkdb [email protected]
Cc: Daniel [email protected]
Subject: Re: [rethinkdb] Allow Outdated not documented and doesn't seem to
work properly (#51)
Sigh I remember explicitly making this work. It seems as if the flag is just getting ignored. Will look in to this.
Reply to this email directly or view it on GitHub:
#51 (comment)
from rethinkdb.
K, so I just confirmed that this does indeed work with python. So I believe this is a javascript driver problem and nothing else.
from rethinkdb.
FYI. The server is designed to perform out-of-date reads on a per-table basis. That is, if I have a query that contains an inner query, I can have outer reads be performed out-of-date and inner reads by performed normally, or vice versa. It was easier to do on the server, and strictly more powerful.
However, to the user this isn't really useful because typically you'll either run something out-of-date or you won't. For example, you might be doing an analytics query that you'll run out-of-date, or a realtime query that you'll run properly, but you're very unlikely to ever want to mix the two.
So in the clients, we decided to do it as a flag to run. If you call run with the out-of-date flag, the whole thing will be run out of date, otherwise it will be run up to date. You aren't supposed to pass the flag on each table (though some clients may or may not support it, that's purely an accident).
I'll update the api docs for each client, and @wmrowan will check the js implementation soon.
from rethinkdb.
I think the solution we have in python is pretty nice right now. Any table can be explicitly specified as read out dated or not. And a default for all tables can be set in run. People who think of running things in outdated mode will find a flag on run where the expect and people who need something more powerful have it too.
Either way since we've also already released this accident and the drivers all support it (excepting js which doesn't support out dated at all) we should keep it around.
from rethinkdb.
Ah, I see, I forgot that we allow a general flag on a query + specific flags per table. This means it's definitely a js bug.
from rethinkdb.
Fear not the authorities have been alerted.
from rethinkdb.
Reopening, we still need to document this on the API page.
from rethinkdb.
Docs are in rethinkdb-www, just waiting for a push to the webserver.
from rethinkdb.
Related Issues (20)
- download.rethinkdb.com is down, 502 Bad Gateway HOT 2
- Evaluate Profile-Guided Optimization (PGO) on RethinkDB
- error: to_string called on an uninitialized ip_address_t, addr_type: 0 compiling rethinkdb on Raspberry HOT 6
- RethinkDB not fully supported on Raspberry PI OS Bullseye (32/64 bit) HOT 10
- Reasonable to change hard-coded cluster size? HOT 5
- help bro my issue = warn: Problem when checking for new versions of RethinkDB: HTTP request to update.rethinkdb.com failed. HOT 1
- cluster connect/reconnect timeout HOT 1
- Installation fails in Kubuntu 23.10 HOT 4
- Generate web_assets.cc in a repeatable file order HOT 1
- Avoid full paths of coffeescript files in generation of web_assets.cc HOT 2
- Rethinkdb 2.4.4 release list HOT 11
- Support protobuf 25
- Return multiple changes feed
- Cache miss rate measurements HOT 4
- Something i forgot to had when having the default doc like so
- Connect rethinkdb directly from browser ? HOT 1
- Why exactly do rethinkDB add null characters to response / request JSON ? HOT 5
- I could not install RethinkDB in Ubuntu 24.04 HOT 3
- How to handle NaN error in javascript Driver? HOT 3
- Is it just me or is there a problem with the download page? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rethinkdb.