our table inconsistency is due to an orphaned row in .META.

 

What do I mean

 

startkey  endkey

===========

A            B

B            C

C            X

D            E

 

Notice that endkey "X" doesn't exist anywhere as a startkey. I want to
fix this by doing a put that will replace start/end pair {B,C} with
{B,D} to "unlink" the orphaned row {C,X} from the ".META.". I have
already backed up all the data in the orphaned region. Then I intend to
delete the unlinked orphaned row {C,X} and subsequently PUT back all the
backed up data back into the table.

 

My concerns is that the "ENCODED" column in .META. encodes the endrow.
Is this the case? (In which case I need the encoding function in order
to make my proposed fix work).

 

Looking for someone to ack that my repair strategy is viable. Please
advise.

 

-geoff

Reply via email to