Giter Club home page Giter Club logo

Comments (7)

jyothi-mandava avatar jyothi-mandava commented on July 28, 2024

This will make sure that split of both index regions and user regions are complete before the Puts are accepted and thus avoid Put failures.

from hindex.

chrajeshbabu avatar chrajeshbabu commented on July 28, 2024

Verified this in cluster, Its working fine. With patch no put failures and regions in transition(one odd issue with locks)
Not able to upload patch for review.
The main changes are added a hook before stepsAfterPONR
{code}
PairOfSameType regions = createDaughters(server, services);
if (this.parent.getCoprocessorHost() != null) {
this.parent.getCoprocessorHost().preSplitAfterPONR();
}
stepsAfterPONR(server, services, regions);
return regions;
{code}
Moved the code which opens index daughters and transition to znode from postSplit to new hook.

If its ok. I will commit tonight or tomorrow.

from hindex.

anoopsjohn avatar anoopsjohn commented on July 28, 2024

If things are fine, you can commit and then all will be able to see the code change from Git. Any changes can then be fixed again..

from hindex.

chrajeshbabu avatar chrajeshbabu commented on July 28, 2024

ok.

from hindex.

ramkrish86 avatar ramkrish86 commented on July 28, 2024

Can you just verify the history if possible, the order that is currently in the code was changed due to some bug. I don't remember it correctly. If the issue fixes the problem then no issues. Just check to verify incase any other issues hidden. Thanks for the fix

from hindex.

chrajeshbabu avatar chrajeshbabu commented on July 28, 2024

Ram, checked the issues related to split, we didn't try this order(index regions assignments first). Any way testing all scenarios like puts,scans during split and restart cases as well. All are fine till now.

from hindex.

chrajeshbabu avatar chrajeshbabu commented on July 28, 2024

committed the changes. closing this issue.

from hindex.

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.