Giter VIP home page Giter VIP logo

Comments (3)

rjl493456442 avatar rjl493456442 commented on July 19, 2024

Are you sure you stopped the geth gracefully?

The log INFO [03-24|10:33:57.589] Failed to load journal, discard it err="unmatched journal want daeb87735849095c0e81fd38e9ddb5fa48f7b59874c02500d0022b5633d67a59 got e9db26f61c707a6d23b4af55e0d872cc9a58fa871458c5cc2d75badfb88edb13" indicates an unclean shutdown occurred. The extra state histories also relevant with the it.

The behavior is expected. Geth will try to repair the db after unclean shutdown, while geth export rejects all the mutations. Please make sure to always stop node properly. If you are using docker, don't forget to add -t 300 for longer termination period.

from go-ethereum.

alkorang avatar alkorang commented on July 19, 2024

Thank you for the answer. I should send SIGTERM to gracefully stop my node like killall geth or killall -TERM geth.

I used to press Ctrl+C sending SIGINT to the node and no problem with the past versions. But it no more gracefully stops my node. When I googled, there were some recommendations to try SIGINT, SIGHUP, or SIGABRT signals, but all of them cannot gracefully stop my node.

from go-ethereum.

holiman avatar holiman commented on July 19, 2024

Closing this; the combination of "unclean shutdown necessitating cleanup" and "geth export" do not work. In order to fix it, a startup with repair is needed, followed by a clean shutdown.

from go-ethereum.

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.