Git Product home page Git Product logo

Comments (11)

mlucy avatar mlucy commented on June 9, 2024

@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.

jilen avatar jilen commented on June 9, 2024

@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.

mlucy avatar mlucy commented on June 9, 2024

@jilen -- that's interesting. Does the backfilling look like it's going to complete, or is it stuck in that state?

from rethinkdb-python.

jilen avatar jilen commented on June 9, 2024

@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.

mlucy avatar mlucy commented on June 9, 2024

@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.

jilen avatar jilen commented on June 9, 2024

@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.

mlucy avatar mlucy commented on June 9, 2024

@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.

danielmewes avatar danielmewes commented on June 9, 2024

@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.

jilen avatar jilen commented on June 9, 2024

@mlucy @danielmewes After the backfilling finish, it could do rename properly

from rethinkdb-python.

danielmewes avatar danielmewes commented on June 9, 2024

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.

danielmewes avatar danielmewes commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.