Comments (11)
@jilen -- Does the Web UI show any problems with your cluster when you go to it, such as unavailable servers? Or is the cluster otherwise healthy aside from the index rebuild failing?
from rethinkdb-python.
@mlucy The Web UI shows the table replication is backfilling of one shard of that table. But I never change replication config.
from rethinkdb-python.
@jilen -- that's interesting. Does the backfilling look like it's going to complete, or is it stuck in that state?
from rethinkdb-python.
@mlucy It stuck in that state and seems won't finish. But that table has 1.4M docs, maybe it just need some time.
from rethinkdb-python.
@jilen -- I'd also consider checking on the health of the server it's backfilling to, just to make sure it isn't out of RAM or hard drive space or something. (RethinkDB using up all the RAM and getting pushed into swap can sometimes cause very slow backfilling.)
from rethinkdb-python.
@mlucy I reduce replicas per shard . And the backfill finished soon.
But there are indexes like $reql_temp_index$_xxx
should I drop the old index, and rename the temp index as the new index ?
from rethinkdb-python.
@jilen -- I think that should work (@danielmewes, @Tryneus, am I right?).
I would rename the old index and not drop it until you're sure the new index is working as intended, though.
from rethinkdb-python.
@jilen Yes, renaming the $reql_temp_index$_...
indexes to their proper names (without the $reql_temp_index$
prefix) should work and complete the index migration.
from rethinkdb-python.
@mlucy @danielmewes After the backfilling finish, it could do rename properly
from rethinkdb-python.
It's very likely that the original index rebuild failure was caused by the table still being backfilling.
I think we should put a table.wait()
into the index rebuild script. Probably as a separate step with a message "Waiting for tables to become ready" or something, in case the wait takes a while?
@Tryneus any thoughts on that?
from rethinkdb-python.
We added the table.wait()
to the import/restore scripts, but not to index-rebuild
. I think we should do it in index-rebuild
as well.
from rethinkdb-python.
Related Issues (20)
- Add a compressed output format for rethinkdb export / import HOT 6
- index variable is a string but is used as a dict ("string indices must be integers") HOT 3
- DeprecationWarning with pytest
- RethinkDB converts float 0.0 to int 0 HOT 3
- Asyncio not compatible with python 3.10 HOT 10
- Test fail. HOT 1
- Proposal: Disconnect connection when garbage collected HOT 1
- 'JsonSourceFile' object has no attribute 'bytes_processed' when using restore HOT 1
- Encountering primary key error while running rethinkdb restore for rethinkdb 2.4 version HOT 5
- Typing and docstring support for better IDE experience HOT 1
- Continuous integration and code coverage checks
- Python3.11 compatibility HOT 3
- asyncio deprecated '@asyncio.coroutine' in python 3.11 HOT 3
- Python 3.11 gets error "module ' asyncio' has no attribute 'coroutine'" HOT 1
- Python 3.12 breakage: The distutils module is removed
- 2.4.10 release HOT 10
- Fix wait_closed dependency on Python <3.7
- _restore not handling -i DB.TABLE
- ModuleNotFoundError: No module named 'looseversion' HOT 1
- 2.4.11 Realease HOT 2
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-python.