Code Monkey home page Code Monkey logo

Comments (4)

ashwinstar avatar ashwinstar commented on June 9, 2024

I believe you are reading the comment wrong on #11163 (comment). The comment says either copy the full data directory from mirror or copy full files related to a particular affected table from mirror. It's not saying copy part of data from a file. That's too much unnecessary aspect and no plans. If file on primary can't be trusted just throw it away and see if mirror file is intact and use it. No point try to extract some portion of data from mirror file to fix things.

from gpdb.

cobolbaby avatar cobolbaby commented on June 9, 2024

@ashwinstar

Sorry to bother you again. Currently, both the primary and mirror segment have issues reading a certain table. Under these circumstances, I just hope to recover as much data as possible.

Could the operations on AO table files be encapsulated into a library that would be convenient to call?

from gpdb.

ashwinstar avatar ashwinstar commented on June 9, 2024

recover as much data as possible

Maximum possibility I sense to recover data is from blocks which are before the block with checksum error. As all blocks following it we don't even know where they start can't retrieve anything beyond bad block.

Could the operations on AO table files be encapsulated into a library that would be convenient to call?

I don't understand the requirement. https://github.com/greenplum-db/filedump uses AO headers and can dump similar to heap the metadata portion. You can always build more tools using the header files of AO, unclear why a library is required or will do.

from gpdb.

cobolbaby avatar cobolbaby commented on June 9, 2024

https://github.com/greenplum-db/filedump uses AO headers and can dump similar to heap the metadata portion

If filedump could parse the data from the AO table file, that would be sufficient to meet the requirements.

Maximum possibility I sense to recover data is from blocks which are before the block with checksum error. As all blocks following it we don't even know where they start can't retrieve anything beyond bad block.

That's enough.

from gpdb.

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.