GithubHelp home page GithubHelp logo

Comments (7)

tomatolog avatar tomatolog commented on August 29, 2024

I fixed the issue then daemon restarts and lost state he got from the Kibana at 152da28 - now it saves the state into manticore.json dashboard node then loads it too.

However if daemon crashed the state still be lost and we need to implement new binlog operations to save kibana state into binlog then restore it on binlog replay after daemon crash. But that should be done after refactor #879 finished.

I see that buddy handles most of the Kubana requests now and it might worth to remove that state management from the daemon and make buddy to handle these too. If we go this way there is no need to add new binlog operations. I could create the new branch there remove Kibana related state management from the daemon that allows these requests fall into buddy.

from manticoresearch.

Nick-S-2018 avatar Nick-S-2018 commented on August 29, 2024

I confirm, it works fine now and restarting daemon does not cause any issues.

from manticoresearch.

Nick-S-2018 avatar Nick-S-2018 commented on August 29, 2024

As for handling Kibana state management with Buddy - I think it's possible so we can discuss this idea.

from manticoresearch.

sanikolaev avatar sanikolaev commented on August 29, 2024

But that should be done after refactor #879 finished

That's done

from manticoresearch.

sanikolaev avatar sanikolaev commented on August 29, 2024

I see that buddy handles most of the Kubana requests now and it might worth to remove that state management from the daemon and make buddy to handle these too. If we go this way there is no need to add new binlog operations. I could create the new branch there remove Kibana related state management from the daemon that allows these requests fall into buddy.

@tomatolog can you list all what the daemon does now in terms of the Kibana support, so we can evaluate the list and decide whether it makes sense to move it all to Buddy?

from manticoresearch.

tomatolog avatar tomatolog commented on August 29, 2024

here is a full list of endpoints daemon handles for compart mode

_search
_msearch
_count
_doc
_create
_cat
_alias
_aliases
_rollup
_ingest
_ilm
_ccr
_mget
_template
_monitoring
_update
_refresh
_field_caps

from manticoresearch.

sanikolaev avatar sanikolaev commented on August 29, 2024

now it saves the state into manticore.json

@Nick-S-2018 pls inspect the state to figure out what endpoints from the list can modify it.

from manticoresearch.

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.