<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andrei Sergeev on Medium]]></title>
        <description><![CDATA[Stories by Andrei Sergeev on Medium]]></description>
        <link>https://medium.com/@anselvo?source=rss-36568f310f85------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4KazUV8XbXrA2V01.jpg</url>
            <title>Stories by Andrei Sergeev on Medium</title>
            <link>https://medium.com/@anselvo?source=rss-36568f310f85------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:42:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anselvo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Troubleshoot ZooKeeper Ensembles Easily with Ivory]]></title>
            <link>https://anselvo.medium.com/troubleshoot-zookeeper-ensembles-easily-with-ivory-06e4d9c545c2?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/06e4d9c545c2</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[clickhouse]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[zookeeper]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 12:31:01 GMT</pubDate>
            <atom:updated>2026-11-24T12:31:01.993Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x9pXaSflSmTTowxRFDXCiA.jpeg" /></figure><h3>Keep the zookeeper happy and the whole zoo stays calm — leader, followers, sync state and znodes of your ensemble in one screen</h3><p>I’ve been writing about elephants for a while now. Every elephant needs a zookeeper. 🐘</p><p>Apache ZooKeeper is the quiet coordinator behind a lot of systems. ClickHouse replicates its tables through it. Other HA tools can use it to elect their leaders. And like every good coordinator, you only notice it when it’s gone: suddenly ClickHouse tables are read-only, and the root cause is three hops away.</p><p>That’s why ZooKeeper got its own plugin in <a href="https://ivory.veegres.com/">Ivory</a>.</p><h3>The problems</h3><ul><li><strong>Four-letter words over </strong><strong>nc.</strong> echo mntr | nc host 2181 on every node, then reading the output line by line.</li><li><strong>The whitelist.</strong> ZooKeeper only answers the commands in 4lw.commands.whitelist, so half the time the first answer is &quot;not executed because it is not in the whitelist&quot;.</li><li><strong>Who’s the leader?</strong> You find out by asking every node for its zk_server_state.</li><li><strong>Followers out of sync.</strong> The leader knows how many followers are synced — but only if you ask it, and only in mntr.</li><li><strong>Which ensemble is this node even in?</strong> A node configured into a different ensemble answers just as nicely.</li></ul><h3>How Ivory solves them</h3><h3>One overview for the ensemble</h3><p>Ivory reads ZooKeeper through its own four-letter-word commands, mntr and conf, on the client port. So the only thing to do on the ZooKeeper side is to make sure both are in 4lw.commands.whitelist. And if a command is refused, Ivory quotes ZooKeeper&#39;s reply instead of guessing why.</p><p>The overview shows every node:</p><ul><li><strong>Role</strong> — leader and standalone are the leader, follower and observer are replicas.</li><li><strong>Members</strong> — read from the server.N lines of the node&#39;s configuration, as long as they carry a client port (…;2181).</li><li><strong>Tags</strong> — the ZooKeeper version, the number of znodes and connections, and the server state when it’s neither leader nor follower.</li></ul><p>Because every node reports the <strong>ensemble</strong> it’s configured into, a node from another ensemble is flagged right away.</p><h3>Honest about what it can’t see</h3><p>ZooKeeper doesn’t report replication lag per follower, so Ivory <strong>doesn’t show a lag</strong> for it. A wrong lag is worse than no lag, and I’d rather leave the column empty than invent a number.</p><p>The same goes for membership in Ivory’s single-host template: its server.N lines carry no client port, so there each node shows only itself instead of a guessed list.</p><h3>Warnings that matter</h3><ul><li><strong>Followers not in sync</strong> with the leader,</li><li>a server <strong>not serving requests</strong>,</li><li>a configuration Ivory <strong>couldn’t read</strong>.</li></ul><h3>Operations</h3><p>Leader election in ZooKeeper is automatic and can’t be triggered by hand, so Ivory doesn’t pretend otherwise. You can <strong>view</strong> the configuration (conf) — and that&#39;s it. Ivory watches ZooKeeper rather than operating it.</p><h3>A znode console</h3><p>Each node has a console for znodes: ls, get, create, set, delete and exists, plus the mntr, srvr, stat, ruok and conf commands. If you give it database credentials, Ivory uses them as digest authentication.</p><p>The <strong>saved queries</strong> cover the root children, the ensemble configuration, and the znodes <strong>Patroni</strong> and <strong>ClickHouse</strong> keep. When ClickHouse says a replica lost its session, that’s where you go next.</p><h3>The machine behind each node</h3><p>Give Ivory an SSH key, and each node shows its host’s CPU, memory, network, processes and any log file. ZooKeeper is very sensitive to slow disks and long GC pauses, and this is where you’ll see them. If it runs in Docker, the Container tab has its logs, inspect, start, stop and restart.</p><h3>Need a new ensemble?</h3><p>Ivory deploys one over plain SSH from a template. Both templates run the official zookeeper:3.9 image with the four-letter words Ivory needs already whitelisted.</p><ul><li><strong>ZooKeeper (Multi Host)</strong> — three nodes zookeeper1–zookeeper3, one per machine, client port 2181 (quorum 2888, election 3888). Server ids are 1–3 in order; replace the example addresses with your hosts and keep the order.</li><li><strong>ZooKeeper (Single Host)</strong> — all three on one machine on client ports 2181–2183.</li></ul><p>The single-host template is exactly what Ivory’s <strong>ClickHouse single-host</strong> template points at. Deploy ZooKeeper first, then ClickHouse on the same machine, and you have a replicated ClickHouse cluster to play with in a few minutes.</p><h3>Ask your AI agent</h3><p>Connect Claude, Cursor or Codex to Ivory’s built-in MCP server and ask:</p><blockquote>“Which ZooKeeper node is the leader, and are all followers in sync?”</blockquote><blockquote>“ClickHouse lost its ZooKeeper session — is the ensemble healthy?”</blockquote><blockquote>“List the znodes ClickHouse keeps for the analytics cluster.”</blockquote><blockquote>“Is anything wrong with the machine behind zookeeper2?”</blockquote><p>It works through Ivory, with your permissions. See the <a href="https://ivory.veegres.com/docs/mcp">MCP docs</a>.</p><h3>Try it</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Open http://localhost, finish the setup wizard and add your ensemble. ZooKeeper support is in <strong>beta</strong> — feedback and issues are very welcome.</p><p>Keep the zookeeper happy, and the whole zoo stays calm. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/databases/zookeeper">Ivory ZooKeeper docs</a></li><li><a href="https://ivory.veegres.com/docs/databases/clickhouse">Ivory ClickHouse docs</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06e4d9c545c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshoot ClickHouse Replication Easily with Ivory]]></title>
            <link>https://anselvo.medium.com/troubleshoot-clickhouse-replication-easily-with-ivory-9bc79365ce80?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bc79365ce80</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[clickhouse]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 14:41:01 GMT</pubDate>
            <atom:updated>2026-11-17T14:41:01.562Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GePt2JDV-8mm1B7ycdBM5w.jpeg" /></figure><h3>No leader, many replicas, one question: is replication healthy? Read-only tables, stuck queues and replica delay in one screen</h3><p>Most databases have a leader. You find it, you check the replicas behind it, done.</p><p>ClickHouse doesn’t work like that. Every node accepts writes, and replicated tables converge through ZooKeeper or ClickHouse Keeper. So “who’s the leader?” is the wrong question. The right one is: <strong>is replication healthy on every node?</strong></p><p>Answering it usually means running a handful of queries against system.replicas and system.replication_queue on every node and comparing the results by eye. That&#39;s what I wanted <a href="https://ivory.veegres.com/">Ivory</a> to do for me.</p><h3>The problems</h3><ul><li><strong>Read-only tables.</strong> When a node loses its session with ZooKeeper, its replicated tables go read-only. The node is up, it answers queries, and inserts fail.</li><li><strong>Stuck replication queues.</strong> A fetch or merge task fails, retries forever, and the queue grows. The actual error is buried in system.replication_queue.</li><li><strong>Replica delay.</strong> A node falls behind, and once it passes max_replica_delay_for_distributed_queries, distributed queries stop using it.</li><li><strong>Cluster config drift.</strong> One node’s &lt;remote_servers&gt; names a different set of replicas than the others, and nothing complains.</li><li><strong>Every check is one query per node.</strong> Three nodes, five queries: fifteen copy-pastes.</li></ul><h3>How Ivory solves them</h3><h3>A cluster that matches your config</h3><p>Ivory reads system.clusters for the cluster <strong>named exactly like your cluster in Ivory</strong>. So the one rule to remember: name your Ivory cluster after its &lt;remote_servers&gt; entry.</p><p>Why by name? Because a ClickHouse node can belong to several clusters at once — including the test_shard_localhost ones a stock build ships with. Asking <em>&quot;who is in this cluster?&quot;</em> has one answer; asking <em>&quot;which cluster are you in?&quot;</em> doesn&#39;t. If a node declares no cluster with that name, Ivory warns and lists the clusters it <em>does</em> declare, so you see the mistake immediately.</p><p>It works in both directions, too: a replica ClickHouse lists that you haven’t added to Ivory gets a warning, and so does a node you added that ClickHouse doesn’t list. Config drift stops being silent.</p><h3>Every node is a replica — and that’s correct</h3><p>ClickHouse has no leader, so Ivory shows every member as a <strong>replica</strong>. That’s not a fault, it’s how ClickHouse works.</p><ul><li><strong>Lag</strong> — the largest absolute_delay across the node&#39;s replicated tables. Ivory warns past <strong>30 seconds</strong>.</li><li><strong>State</strong> — whether the node is actually running. A node that serves reads stays <em>running</em> even if its replication is in trouble. That trouble is shown as a warning instead.</li></ul><h3>Warnings for what actually breaks</h3><p>Ivory warns about:</p><ul><li>replicated tables gone <strong>read-only</strong> — usually a lost session with the coordination store,</li><li>replicas <strong>without an active coordination session</strong>,</li><li><strong>stuck tasks in the replication queue</strong>, with the error that blocks them,</li><li>delay past ClickHouse’s own max_replica_delay_for_distributed_queries.</li></ul><p>That stuck-queue warning is my favourite. Instead of digging through system.replication_queue on every node, you see the failing task and its error right on the overview.</p><h3>Operations</h3><p>With no leader, there’s nothing to switch over or fail over. What you can do:</p><ul><li><strong>Reload</strong> the configuration (SYSTEM RELOAD CONFIG),</li><li><strong>View</strong> the settings (system.settings).</li></ul><h3>SQL console and dashboard</h3><p>Each node has a SQL console, browsing of databases and tables, and a <strong>dashboard</strong> with databases, connections, sizes and uptime.</p><p><strong>Saved queries</strong> cover the things you usually check by hand: active queries, the replication queue, the coordination connection, detached parts, disks and more.</p><p>One limitation, to be honest: running queries can’t be cancelled from Ivory. ClickHouse identifies a running query by a string query_id, not a process id, and Ivory&#39;s cancel works with process ids. Rather than pretend, Ivory doesn&#39;t offer the button.</p><h3>The machine behind each node</h3><p>ClickHouse loves disks and memory. Give Ivory an SSH key, and each node shows its host’s CPU, memory, network, processes and any log file — including ClickHouse’s own server log. If it runs in Docker, the Container tab has its logs, inspect, start, stop and restart.</p><h3>Need a new ClickHouse cluster?</h3><p>Ivory deploys one over plain SSH from a template. The templates run clickhouse/clickhouse-server:24, write the cluster into a config.d file before starting, set the {cluster} and {replica} macros to the Ivory cluster and node names, and create the database user named on the deploy screen.</p><p>ClickHouse needs a ZooKeeper (or ClickHouse Keeper). The deploy screen asks for its address once, for the whole cluster.</p><ul><li><strong>ClickHouse (Multi Host)</strong> — three nodes clickhouse1–clickhouse3, one per machine, on port 9000. Replace the example addresses in the replica list with your hosts.</li><li><strong>ClickHouse (Single Host)</strong> — all three on one machine on ports 9000–9002. Its coordination store defaults to Ivory&#39;s <strong>ZooKeeper single-host</strong> template, so deploy that first on the same machine.</li></ul><p>Two things good to know:</p><ul><li>The Ivory cluster name is written into ClickHouse’s XML config, so it must be a valid XML element name.</li><li>Under Docker’s bridge networking, CREATE … ON CLUSTER can hang. Create replicated tables on each node instead.</li></ul><h3>Ask your AI agent</h3><p>Connect Claude, Cursor or Codex to Ivory’s built-in MCP server and ask:</p><blockquote>“Is replication healthy on my ClickHouse cluster?”</blockquote><blockquote>“Why are tables read-only on clickhouse2?”</blockquote><blockquote>“Show me stuck tasks in the replication queue and explain the errors.”</blockquote><blockquote>“Which tables use the most disk across the cluster?”</blockquote><p>It works through Ivory, with your permissions and nothing more. See the <a href="https://ivory.veegres.com/docs/mcp">MCP docs</a>.</p><h3>Try it</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Open http://localhost, finish the setup wizard and add your ClickHouse cluster — remember to name it after &lt;remote_servers&gt;. ClickHouse support is in <strong>beta</strong>, so feedback and issues are very welcome.</p><p>No leader, no problem — as long as every replica keeps up. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/databases/clickhouse">Ivory ClickHouse docs</a></li><li><a href="https://ivory.veegres.com/docs/databases/zookeeper">Ivory ZooKeeper docs</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bc79365ce80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshoot Redis Replication Easily with Ivory]]></title>
            <link>https://anselvo.medium.com/troubleshoot-redis-replication-easily-with-ivory-44238228edfd?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/44238228edfd</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 08:31:01 GMT</pubDate>
            <atom:updated>2026-11-11T08:31:01.604Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUBdGgtn3VuxjxuY9nnAeg.jpeg" /></figure><h3>Masters, replicas, broken links and failed saves — see every Redis node in one screen and promote a replica with one click</h3><p>Redis is the fastest thing in most stacks. It’s also the one we tend to set up once and forget about.</p><p>And that’s exactly how replication breaks: quietly. A replica loses its link to the master and keeps serving stale data. A background save fails and Redis starts refusing writes. Nobody notices until the cache goes cold or an app starts throwing errors.</p><p><a href="https://ivory.veegres.com/">Ivory</a> now supports Redis, so you can see all of that before your users do.</p><h3>The problems</h3><ul><li><strong>INFO replication is a wall of text — per node.</strong> To understand one master and two replicas, you run it three times and read three walls.</li><li><strong>“Who’s the master right now?”</strong> After a manual promotion or two, it’s surprisingly easy to lose track.</li><li><strong>A broken link looks fine from the outside.</strong> The replica still answers PING. It&#39;s just not getting new data.</li><li><strong>Persistence failures stop writes.</strong> If the last background save or AOF write failed, Redis may refuse writes entirely — and the first you hear of it is an application error.</li><li><strong>min-replicas-to-write can bite you.</strong> If replicas fall too far behind, the master stops accepting writes, by design.</li></ul><h3>How Ivory solves them</h3><h3>Every node, one overview</h3><p>Add your Redis nodes to an Ivory cluster, and the overview shows them all:</p><ul><li><strong>Role</strong> — a node with role:slave is a replica, any other is the master. A node still loading its dataset shows as starting.</li><li><strong>Lag</strong> — seconds since a replica last heard from its master. Ivory warns past <strong>30 seconds</strong>.</li><li><strong>Tags</strong> — the Redis version, the memory in use, and on the master, the number of connected replicas.</li></ul><p>One honest note: a Redis <strong>master doesn’t list its replicas</strong> in Ivory. The addresses Redis shows for them are wherever their connection came from — often a Docker gateway or ::1 — not an address anyone could actually connect to. Listing them would invent nodes that don&#39;t exist. So Ivory shows how many replicas are connected instead, and you add every node to the cluster yourself. A replica <em>does</em> report the master it follows, and Ivory uses that.</p><h3>Warnings for the quiet failures</h3><p>This is where Ivory earns its place for Redis. It warns when:</p><ul><li>a replica’s <strong>link to its master is down</strong> — and for how long,</li><li>the <strong>last background save or AOF write failed</strong>,</li><li>a <strong>full resync</strong> is in progress,</li><li>min-replicas-to-write is <strong>not met</strong>, or replicas are past min-replicas-max-lag.</li></ul><p>All of these are things Redis knows but doesn’t shout about. Ivory turns them into a red line on the overview. And a replica whose link is down shows its lag as <em>unknown</em>, not 0 — because a dead link isn&#39;t zero lag.</p><h3>Promote a replica</h3><p>When the master is gone, pick a replica and press <strong>Failover</strong>. Ivory promotes it with REPLICAOF NO ONE. It&#39;s refused on the master, so you can&#39;t promote the node that&#39;s already in charge by mistake.</p><p>Ivory doesn’t integrate with Sentinel or Redis Cluster, so there’s no automatic failover or switchover — this is a manual, deliberate promotion. You can also <strong>view</strong> the full configuration (CONFIG GET *) from the same screen.</p><h3>A console for any command</h3><p>The console sends any Redis command, exactly as typed. You can browse the numbered databases, list connected clients and kill one with CLIENT KILL.</p><p>There are <strong>saved queries</strong> for everything you usually check: server info, keyspace, replication, clients, slow log, latency, memory, persistence, command stats and configuration. One click instead of remembering which INFO section you need.</p><h3>The machine behind each node</h3><p>Redis is memory-bound, so the machine matters. Give Ivory an SSH key and each node shows its host’s CPU, memory, network, processes and any log file. If Redis runs in Docker, the Container tab shows its logs and lets you inspect, restart, stop or start it.</p><h3>Need a new Redis setup?</h3><p>Ivory deploys one over plain SSH from a template, with the default user&#39;s password set right on the deploy screen:</p><ul><li><strong>Redis (Multi Host)</strong> — three nodes redis1–redis3, one per machine, on port 6379, with append-only persistence on a volume. The replicas&#39; commands name the master&#39;s address literally — replace it with your first node&#39;s host.</li><li><strong>Redis (Single Host)</strong> — all three on one machine on ports 6379–6381, without persistence. Great for trying it out.</li></ul><h3>Ask your AI agent</h3><p>With Ivory’s built-in MCP server you can connect Claude, Cursor or Codex and ask:</p><blockquote>“Are all my Redis replicas connected to the master?”</blockquote><blockquote>“Why is redis2 refusing writes?”</blockquote><blockquote>“Show me the slow log on the master and explain the worst commands.”</blockquote><blockquote>“The master is down — which replica is the freshest? Promote it after I confirm.”</blockquote><p>The agent works through Ivory, under exactly your permissions. More in the <a href="https://ivory.veegres.com/docs/mcp">MCP docs</a>.</p><h3>Try it</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Open http://localhost, finish the setup wizard and add your Redis nodes. Redis support is in <strong>beta</strong>: it works end to end, and real-world feedback is exactly what will make it stable.</p><p>Keep your cache warm and your replicas close. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/databases/redis">Ivory Redis docs</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://anselvo.medium.com/troubleshoot-postgres-clusters-easily-with-ivory-eb0a6d61695a">Troubleshoot Postgres clusters easily with Ivory</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44238228edfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshoot MongoDB Replica Sets Easily with Ivory]]></title>
            <link>https://anselvo.medium.com/troubleshoot-mongodb-replica-sets-easily-with-ivory-df31af03fc86?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/df31af03fc86</guid>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[nosql]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 11:31:01 GMT</pubDate>
            <atom:updated>2026-11-05T11:31:01.802Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3YCH5nJmtCJp9vr1Pvphkg.jpeg" /></figure><h3>Primary, secondaries, heartbeats and lag of the whole replica set in one screen — plus a step-down and a config editor when you need them</h3><p>MongoDB is one of the easier databases to run highly available. A replica set elects its own primary, fails over by itself, and doesn’t need a separate HA tool next to it.</p><p>But “it fails over by itself” doesn’t mean “you never need to look at it”. You still need to know who’s primary right now, whether the secondaries keep up, and why one member keeps missing heartbeats. That usually means rs.status() — and a long JSON document to scroll through.</p><p>So I taught <a href="https://ivory.veegres.com/">Ivory</a> to read it for me.</p><h3>The problems</h3><ul><li><strong>rs.status() is long.</strong> The answer is in there, somewhere in a deeply nested document, one member at a time.</li><li><strong>Chained replication hides lag.</strong> A secondary syncing from <em>another secondary</em> inherits that secondary’s lag, and nothing on the surface tells you why it’s slow.</li><li><strong>Heartbeat failures depend on who’s looking.</strong> Member A can’t reach member B, but B looks fine from C. You only see it from A’s point of view.</li><li><strong>Members in odd states.</strong> RECOVERING, ROLLBACK, STARTUP — each means something different, and each matters during an incident.</li><li><strong>The wrong replica set.</strong> Point a node at the wrong address, and you’re looking at a perfectly healthy member of a <em>different</em> replica set.</li></ul><h3>How Ivory solves them</h3><h3>The whole replica set from one member</h3><p>replSetGetStatus from any member returns the whole replica set, so Ivory can show everything from a single node. Add your cluster by typing its addresses, or give Ivory just <strong>one</strong> node and let it <strong>detect</strong> the rest.</p><p>The overview shows every member:</p><ul><li><strong>Role</strong> — PRIMARY is the leader, SECONDARY is a replica. RECOVERING and ROLLBACK are replicas still catching up, STARTUP is starting, an arbiter is running with no data role, and a member that&#39;s DOWN is unreachable.</li><li><strong>Lag</strong> — seconds a member is behind the primary. Ivory warns past <strong>30 seconds</strong>.</li><li><strong>Tags</strong> — only what’s worth your attention: the member state when it’s anything but primary or secondary, the <strong>sync source</strong> when a secondary replicates from another secondary, and the heartbeat ping.</li></ul><p>That sync source tag is the one I like most. When a secondary is slow because it’s chained behind another secondary, the answer is right on the row.</p><h3>Warnings that say who saw what</h3><ul><li><strong>Failed heartbeats</strong> — and <em>which member saw them</em>. “Heartbeat from mongo1 failed” is a very different story from “mongo2 is down”.</li><li><strong>MongoDB’s own info message</strong> for a member, passed through as is, in MongoDB’s own words.</li></ul><p>And because every node reports its <strong>replica set name</strong>, a node from another set is flagged right away.</p><h3>Operations</h3><ul><li><strong>Failover</strong> — asks the current primary to step down (replSetStepDown), so the set elects another one. Great before maintenance on the primary&#39;s host.</li><li><strong>View and edit</strong> the replica set configuration (replSetGetConfig / replSetReconfig). Be careful here: an edit replaces the whole configuration document.</li></ul><h3>A shell-style console</h3><p>Each node has a console that feels like the Mongo shell: collection.find(), findOne, insertOne/insertMany, updateOne/updateMany, deleteOne/deleteMany, countDocuments, distinct, aggregate and db.runCommand().</p><p>You can browse databases and collections, <strong>list running operations and kill one</strong>, and use <strong>saved queries</strong> for server status, replica set status and config, current operations, index usage and the profiler.</p><h3>The machine behind each node</h3><p>Give Ivory an SSH key and each node shows its host’s CPU, memory, network, processes and any log file. If MongoDB runs in Docker, the Container tab has its logs, inspect, start, stop and restart. A secondary that’s slow because of a full disk or a noisy neighbour shows up right there.</p><h3>Need a new replica set?</h3><p>Ivory deploys one over plain SSH, from a template. Both templates run the official mongo:7 image as replica set members named after your Ivory cluster, and a <strong>post-script on the last node</strong> runs rs.initiate once all three are up. Access control is left off.</p><ul><li><strong>Mongo (Multi Host)</strong> — three nodes mongo1–mongo3, one per machine, on port 27017. Replace the example addresses in the rs.initiate member list with your hosts.</li><li><strong>Mongo (Single Host)</strong> — all three on one machine on ports 27017–27019. Perfect for a test environment.</li></ul><p>After a deploy, Ivory tells you how each node’s <strong>deploy</strong> and <strong>initialize</strong> steps ended, so if rs.initiate fails, you know exactly where.</p><h3>Ask your AI agent</h3><p>Connect Claude, Cursor or Codex to Ivory’s built-in MCP server and ask:</p><blockquote>“Which node is the MongoDB primary, and is any secondary lagging?”</blockquote><blockquote>“Why is mongo3 slow? Check its sync source and its machine.”</blockquote><blockquote>“Show me the current operations running longer than a minute.”</blockquote><blockquote>“Step the primary down so I can patch its host — check the secondaries are caught up first.”</blockquote><p>It works through Ivory, with your permissions. See the <a href="https://ivory.veegres.com/docs/mcp">MCP docs</a>.</p><h3>Try it</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Open http://localhost, finish the setup wizard and add your replica set. MongoDB support is in <strong>beta</strong>: it works end to end, and your feedback will help make it stable.</p><p>Let the replica set elect its leaders — you just keep an eye on it. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/databases/mongodb">Ivory MongoDB docs</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://anselvo.medium.com/troubleshoot-postgres-clusters-easily-with-ivory-eb0a6d61695a">Troubleshoot Postgres clusters easily with Ivory</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df31af03fc86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshoot etcd Clusters Easily with Ivory]]></title>
            <link>https://anselvo.medium.com/troubleshoot-etcd-clusters-easily-with-ivory-344d10763c35?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/344d10763c35</guid>
            <category><![CDATA[etcd]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 12:31:01 GMT</pubDate>
            <atom:updated>2026-10-31T12:31:01.687Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bzV-2ARKVrHTQTyIBQYJQQ.jpeg" /></figure><h3>See the leader, the Raft lag and the alarms of every etcd member in one screen — and move the leader with one click</h3><p>etcd is one of those databases you don’t think about. It sits quietly under your Patroni cluster, or under your Kubernetes control plane, and keeps everyone agreeing on who the leader is.</p><p>Until it doesn’t. When etcd hurts, everything built on top of it hurts too. Patroni can’t renew its leader lock, the Postgres primary demotes itself, and suddenly your “database incident” is actually an etcd incident.</p><p>I added etcd support to <a href="https://ivory.veegres.com/">Ivory</a> for exactly this reason. Patroni uses etcd as its coordination store, so if Ivory looks after Patroni, it should look after etcd too.</p><h3>The problems</h3><p>Here’s what troubleshooting etcd usually looks like for me:</p><ul><li><strong>etcdctl needs a lot of flags.</strong> Endpoints, certificates, --write-out=table, --cluster… Every time, I have to remember the exact incantation, and type it on the right host.</li><li><strong>“Who is the leader?” is a three-endpoint question.</strong> etcdctl endpoint status against every member, then reading a wide table to find the one that says true.</li><li><strong>Alarms are silent.</strong> When etcd runs out of space it raises a NOSPACE alarm and stops accepting writes. Nobody tells you unless you ask with alarm list.</li><li><strong>A member from another cluster looks perfectly healthy.</strong> If you add the wrong address, it responds, it has a leader, and everything looks fine — it’s just not <em>your</em> cluster.</li><li><strong>Lag is hidden in Raft indexes.</strong> A slow member falls behind on applied entries, and you only notice when requests start failing.</li></ul><h3>How Ivory solves them</h3><h3>One overview for the whole cluster</h3><p>Add your etcd cluster to Ivory by typing the node addresses, or just give it <strong>one</strong> node and let Ivory <strong>detect</strong> the rest — etcd’s member list is the same from whichever node you ask.</p><p>The overview shows every member at once:</p><ul><li><strong>Role</strong> — the member etcd names as leader is the leader, the rest are replicas.</li><li><strong>State</strong> — whether the member is actually running, observed, not assumed.</li><li><strong>Lag</strong> — how many Raft entries a member is behind the leader. Ivory warns past <strong>1000 entries</strong>.</li><li><strong>Tags</strong> — the etcd version, the Raft term, and whether a member is a learner.</li></ul><p>Each member keeps its etcd name, so what you see in Ivory is exactly what etcd calls it.</p><h3>Warnings that actually tell you something</h3><p>Ivory shows two kinds of warnings, labelled separately so you always know who’s talking:</p><ul><li><strong>What etcd itself reports</strong> — alarms like NOSPACE, a lost leader, and a backlog of committed but not yet applied entries big enough for etcd to start refusing requests.</li><li><strong>What Ivory notices</strong> — a member it can’t reach (naming the address it tried, so a routing problem reads differently from a dead member), a node that isn’t in the cluster’s member list, or a lag past the threshold.</li></ul><p>And because every node reports its <strong>etcd cluster id</strong>, a member from a different cluster is flagged right away instead of rendering as a happy, healthy node.</p><h3>Move the leader</h3><p>etcd elects its leader by itself, so there’s no failover or restart to manage. But sometimes you want the leader somewhere else — before maintenance on its host, for example. Ivory offers a <strong>switchover</strong>: pick the member that should lead, and it moves leadership there.</p><h3>A console without the flags</h3><p>Every node has an etcdctl-style console: get (with --prefix, --limit, --keys-only), put, del, member list, endpoint status, endpoint health and alarm list. No endpoints, no certificates to type — Ivory already knows them.</p><p>There are also <strong>saved queries</strong> for the things you check most: the member list, endpoint status and health, alarms — and the keys <strong>Patroni</strong> stores for its clusters. That last one is a lifesaver when you need to know which Postgres node Patroni <em>thinks</em> is the leader.</p><h3>The machine behind each node</h3><p>Give Ivory an SSH key, and each node also shows the machine it runs on: CPU, memory, network, the process list and any log file on the host. If etcd runs in Docker, the Container tab shows its logs, lets you inspect, start, stop or restart it. Most etcd problems are disk or network problems, and this is where you see them — no extra SSH session needed.</p><h3>Need a new etcd cluster?</h3><p>Ivory can deploy one for you over plain SSH, from a template:</p><ul><li><strong>Etcd (Multi Host)</strong> — three nodes etcd1–etcd3, one per machine, client port 2379 and peer port 2380. Replace the example addresses in the member list with your hosts.</li><li><strong>Etcd (Single Host)</strong> — all three on one machine on client ports 2479, 2481 and 2483. Perfect for a test environment.</li></ul><p>Both leave authentication off on purpose: that’s what lets Ivory’s <strong>Patroni</strong> templates use the cluster as their coordination store right away. Deploy etcd first, then Patroni on top of it, and you have a full high-availability Postgres setup in a few clicks.</p><h3>Ask your AI agent</h3><p>Ivory has a built-in MCP server, so you can also connect Claude, Cursor or Codex and simply ask:</p><blockquote>“Is my etcd cluster healthy? Any alarms?”</blockquote><blockquote>“Which etcd member is the leader, and is any member behind?”</blockquote><blockquote>“What does Patroni store in etcd for the prod cluster?”</blockquote><blockquote>“Move the etcd leader to etcd2 — check that it’s caught up first.”</blockquote><p>The agent works through Ivory, with exactly the permissions your user has. Details are in the <a href="https://ivory.veegres.com/docs/mcp">MCP docs</a>.</p><h3>Try it</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Open http://localhost, go through the setup wizard, and add your etcd cluster. etcd support is currently in <strong>beta</strong> — it works end to end, but it has had less time in the field than Postgres, so feedback and issues are very welcome.</p><p>Keep your Raft afloat, and it will keep everything above it standing. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/databases/etcd">Ivory etcd docs</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://anselvo.medium.com/troubleshoot-postgres-clusters-easily-with-ivory-eb0a6d61695a">Troubleshoot Postgres clusters easily with Ivory</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=344d10763c35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop SSH-ing at 3 A.M. — Just Ask Your Database Cluster What’s Wrong]]></title>
            <link>https://anselvo.medium.com/stop-ssh-ing-at-3-a-m-just-ask-your-database-cluster-whats-wrong-56cccfb659e4?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/56cccfb659e4</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 11:26:01 GMT</pubDate>
            <atom:updated>2026-10-26T11:26:01.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S6Ukiyh9lihuOtBwBQX_og.jpeg" /></figure><h3>How to connect Claude, Cursor or Codex to Ivory and let an AI agent troubleshoot PostgreSQL, Redis, MongoDB and more — safely, under your own permissions</h3><p>It’s 3 a.m. Your phone buzzes: <em>replication lag on prod</em>.</p><p>You know the drill. Open the laptop. SSH into the first node. patronictl list. Open psql on the leader. Query pg_stat_replication. SSH into the replica. top. df -h. tail the log. Back to the leader. Is something holding a lock? Another query. Copy a PID. Five terminals later, you finally have a picture of what&#39;s going on — and you&#39;re wide awake for the rest of the night.</p><p>Now imagine you type one sentence instead:</p><blockquote>“Why is the replica in prod lagging?”</blockquote><p>…and an AI agent checks the cluster, reads the lag, looks at the replica’s machine, runs the right diagnostic query on the leader and tells you: <em>a long-running transaction on the leader is holding back replay; here’s its PID — do you want me to cancel it?</em></p><p>That’s what Ivory does now. Let me show you how.</p><h3>The idea: don’t give your AI the keys — give it Ivory</h3><p>You <em>could</em> give an AI agent SSH access and a database password. Please don’t. 🙂</p><p>It would have every secret in its context, no idea which cluster is which, and no limits at all — DROP TABLE is just as easy to type as SELECT.</p><p><a href="https://ivory.veegres.com/">Ivory</a> is an open-source tool to deploy, watch and fix database clusters — PostgreSQL with Patroni, plain PostgreSQL, etcd, Redis, ClickHouse, MongoDB and ZooKeeper. Since v2.1.0 it has a built-in <strong>MCP server</strong> (Model Context Protocol, the standard way AI agents call tools). So instead of raw access to your infrastructure, the agent gets Ivory:</p><ul><li><strong>It already knows your clusters.</strong> Names, nodes, roles, which engine, which keeper — no need to explain your topology.</li><li><strong>It sees only what you allow.</strong> An agent sees <em>only the tools its user has permission for</em>. No permission for a switchover? The switchover tool doesn’t even exist for it.</li><li><strong>Secrets never pass through it.</strong> Passwords and SSH keys stay in Ivory’s vault. The agent refers to them by id and never sees them.</li><li><strong>Dangerous tools are labelled.</strong> Read-only tools are marked read-only, destructive ones are marked destructive, so your client asks you before running them.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y-XyUgCBCSB6EBFM.png" /><figcaption><em>“Show me all active queries” — the agent checks six Postgres nodes, finds a long pg_sleep on one replica and offers to cancel or terminate it</em></figcaption></figure><h3>Set it up in two minutes</h3><p><strong>1. Run Ivory</strong> (skip this if you already have it):</p><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p><strong>2. Generate a token.</strong> In Ivory, open <strong>Settings → Integrations → MCP Server</strong>. Pick how long the token should live — 1 hour, 6 hours, 1 day, 15 days or 30 days — and press generate.</p><p><strong>3. Copy the config for your client.</strong> The same screen has a ready-made config for Claude Code, Cursor, VS Code, Codex, Antigravity, IntelliJ IDEA and Claude Desktop, with the endpoint and token already filled in. For Claude Code it’s one command:</p><pre>claude mcp add --transport http ivory http://localhost/api/mcp \<br>  --header &quot;Authorization: Bearer $TOKEN&quot;</pre><p>That’s it. Ask your agent <em>“What clusters do I have in Ivory?”</em> to make sure it works.</p><h3>10 things to ask your cluster</h3><p>Here’s where it gets fun. These are real prompts that work today, and what the agent does behind the scenes.</p><h3>1. The morning check</h3><blockquote>“Check all my clusters and tell me if anything needs attention.”</blockquote><p>The agent lists every cluster and reads each one’s overview: roles, states, lag, pending restarts and warnings. You get one short summary instead of clicking through every cluster. My favourite way to start the day.</p><h3>2. Why is my replica lagging?</h3><blockquote>“Why is replica 2 in prod lagging?”</blockquote><p>It reads the lag (in the engine’s own unit — bytes for Postgres, seconds for Redis and MongoDB, Raft entries for etcd), checks the replica machine’s CPU, memory and network, and runs the replication queries on the leader.</p><h3>3. What is blocking my queries?</h3><blockquote>“What is blocking queries on the prod leader? Don’t kill anything, just explain.”</blockquote><p>It looks at the active queries and locks and points to the blocker. When you’re ready: <em>“Cancel it”</em> — and it uses ivory_query_cancel, or ivory_query_terminate if cancel isn&#39;t enough.</p><h3>4. Is it down, or can I just not reach it?</h3><blockquote>“Node patroni3 is red. Is it actually down?”</blockquote><p>ivory_cluster_check tests every node at once — keeper, machine and database connections — and tells you whether it breaks at the vault, the certificate or the network itself. That&#39;s the difference between &quot;the database crashed&quot; and &quot;someone rotated the password&quot;.</p><h3>5. Read the logs for me</h3><blockquote>“Show me the last errors in the logs of the etcd leader container.”</blockquote><p>It pulls the last lines of the container log — or any log file on the machine — and summarizes what matters. No ssh, no docker logs, no scrolling.</p><h3>6. Is the machine OK?</h3><blockquote>“Is anything else eating CPU on the mongo2 host?”</blockquote><p>The agent reads the machine’s metrics and process list over SSH, through Ivory. Great for the classic “it’s not the database, it’s the backup job running on the same box”.</p><h3>7. A planned switchover, done carefully</h3><blockquote>“I want to switch the leader to node 3. Check that it’s healthy and caught up first, then ask me before doing it.”</blockquote><p>It checks lag and state, explains what will happen, and waits for your go. Ivory even supports scheduling a switchover for later on Patroni: <em>“…and schedule it for 2 a.m.”</em></p><h3>8. Explain a warning</h3><blockquote>“Ivory shows a warning on clickhouse2. What does it mean and how do I fix it?”</blockquote><p>Ivory has two kinds of warnings: its own (a node that isn’t in the cluster, lag past the threshold, an unreachable node) and the ones the engine reports itself (etcd alarms, failed MongoDB heartbeats, stuck ClickHouse replication tasks). The agent knows which is which and explains both.</p><h3>9. Run the right diagnostic query</h3><blockquote>“Run the table bloat query on the analytics database and tell me the top 5 tables.”</blockquote><p>Ivory ships saved diagnostic queries for every engine. The agent can find the right one and run it, so you don’t have to remember which pg_stat_* view to join with which.</p><h3>10. Spin up a test cluster</h3><blockquote>“Deploy a test Redis cluster on 10.0.0.4 from the single-host template. Use the ‘test-ssh’ vault for SSH and the ‘redis-test’ vault for the password.”</blockquote><p>The agent picks the template and deploys all three nodes — then reports how each node’s deploy and initialize steps ended. Credentials are always named by vault, never typed into the chat, so no password ever lands in the agent’s context.</p><h3>Keep it safe: the 3-rule setup</h3><p>Giving an AI agent power over production deserves a moment of thought. Here’s how I set it up:</p><p><strong>Rule 1: Give your agent its own user.</strong> Create a user in Ivory just for your agent and grant it only view.* permissions. It can diagnose everything and change nothing — the tools that change something simply won&#39;t appear in its list. When you need it to act, use a different user with the manage.* permissions you&#39;re comfortable with.</p><p><strong>Rule 2: Use short-lived tokens.</strong> Tokens can’t be revoked: Ivory doesn’t store them, so a token stays valid until it expires. A 1-hour token for an incident, a 1-day token for a working session. Treat a 30-day token like a password you can’t change for a month.</p><p><strong>Rule 3: Keep the approval prompts on.</strong> Most MCP clients ask before running a tool, and Ivory marks the dangerous ones as destructive. Read before you click “allow” — especially for failover, reinitialize, removing a container and the raw query console.</p><p>Some things an agent can never do through Ivory, whatever its permissions: erase data, export backups, or manage vaults, certificates, users and permissions. An agent should never be able to widen its own access.</p><h3>Tips for better answers</h3><ul><li><strong>Name the cluster.</strong> “Prod” is better than “my database”.</li><li><strong>Ask it to explain before it acts.</strong> “Diagnose, don’t fix” is a great default.</li><li><strong>Ask for the evidence.</strong> “Show me the query you ran and the numbers” keeps the answer honest.</li><li><strong>Chain it.</strong> “Check all clusters, then dig into the worst one” works surprisingly well.</li></ul><h3>Bonus: let AI add your favourite database</h3><p>Ivory’s engines are plugins. If your database isn’t supported yet, the repository ships a Claude Code agent called keeper-database-plugin that writes a new plugin — both halves, the tests and the UI wiring — following the project&#39;s own checklist. Then open a pull request. 🧩</p><h3>The point</h3><p>AI won’t replace knowing your databases. But it removes the boring part — the five terminals, the copy-pasted PIDs, the “which host was the leader again?” — and leaves you with the decision. And because it works through Ivory, it does that with exactly the permissions you gave it and nothing more.</p><p>Next time your phone buzzes at 3 a.m., try asking first. 😉</p><p>If you like the idea, give Ivory a ⭐ on GitHub — it really helps.</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/docs/mcp">MCP server docs</a></li><li><a href="https://ivory.veegres.com/docs/getting-started">Getting started</a></li><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://github.com/veegres/ivory/releases/tag/v2.1.0">Release v2.1.0</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56cccfb659e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ivory Has a New Home — and the Elephant Grew Wings]]></title>
            <link>https://anselvo.medium.com/ivory-has-a-new-home-and-the-elephant-grew-wings-07dd71c92976?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/07dd71c92976</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 09:11:01 GMT</pubDate>
            <atom:updated>2026-10-20T09:11:01.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pb5tEZtCWysmLLNNUrJHMg.jpeg" /></figure><h3>Meet ivory.veegres.com: the website, the docs and a new logo for the open-source tool that deploys, watches and fixes your database clusters</h3><p>For a long time, Ivory lived in exactly one place: a GitHub repository. If you wanted to learn about it, you opened the README, clicked through a folder of Markdown files and hoped you’d find the right one.</p><p>That worked while Ivory was a small Postgres and Patroni helper. It doesn’t work anymore. Ivory now manages seven kinds of clusters, deploys them, watches the machines behind them and has an MCP server for AI agents. That deserves a proper home.</p><p>So here it is: <a href="https://ivory.veegres.com/"><strong>ivory.veegres.com</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hCiBbD5vouGqPrP4V1L4-A.png" /></figure><h3>Deploy. Watch. Fix. Anywhere.</h3><p>That’s the tagline on top of the page, and it’s the shortest description of Ivory I’ve ever managed to write:</p><ul><li><strong>Deploy</strong> a cluster from a template over plain SSH.</li><li><strong>Watch</strong> its health: roles, replication lag, pending restarts and warnings for every node.</li><li><strong>Fix</strong> it: switchover, failover, restart, reinitialize, run a diagnostic query, read a log.</li><li><strong>Anywhere</strong>: from your browser, from your phone, or from your AI agent.</li></ul><h3>What you’ll find on the site</h3><h3>Why Ivory, in three sentences</h3><p>The landing page starts with the three reasons Ivory exists:</p><ul><li><strong>Nothing to install.</strong> Ivory reaches your machines over plain SSH and talks to each database in its own protocol. No agent beside every node, no Kubernetes, no Ansible, no cloud account — one Docker container and you’re done.</li><li><strong>One workflow, every engine.</strong> PostgreSQL, etcd, Redis, ClickHouse, MongoDB and ZooKeeper look and behave the same: the same health view, the same switchover button, the same console. Learn it once, use it everywhere.</li><li><strong>Fix it from anywhere.</strong> A UI that works on your phone for the 3 a.m. page, and a built-in MCP server so your AI agent can dig into a cluster with you — under exactly the permissions you have.</li></ul><h3>Every supported database, at a glance</h3><p>PostgreSQL with Patroni and plain PostgreSQL replication are <strong>stable</strong>. etcd, Redis, ClickHouse, MongoDB and ZooKeeper are in <strong>beta</strong>. And there’s one more card: <em>“Yours next?”</em> Every engine in Ivory is a self-contained plugin, and the repository even ships an AI agent that writes a new one for your database by the project’s own checklist.</p><h3>Real documentation, with search</h3><p>This is the part I’m happiest about. The docs are finally easy to read and easy to search:</p><ul><li><strong>Getting started</strong> — from docker run to your first cluster</li><li><strong>Clusters, Overview and Node</strong> — everything the UI does, screen by screen</li><li><strong>Deployment</strong> — templates, variables and the shipped templates for every engine</li><li><strong>A page for every database</strong> — what Ivory reads, which operations it offers, how lag is measured and when it warns</li><li><strong>MCP server</strong> — connecting an agent, permissions and every tool it can call</li><li><strong>Comparison tables</strong> — operations, lag thresholds and console features for every engine, side by side</li></ul><p>A small detail for fellow maintainers: the docs are still the same Markdown files in the repository’s .doc folder. The site copies them in at build time, so there&#39;s one source of truth, and the docs keep rendering on GitHub exactly as before. The site itself is built with Rspress and served as static files from Cloudflare.</p><h3>“Just ask your cluster”</h3><p>The site has a whole section on Ivory being AI-ready, with the kind of questions you can now ask:</p><blockquote>“Why is replica 2 lagging?”</blockquote><blockquote>“What is blocking my queries?”</blockquote><blockquote>“Switch the leader to node 3.”</blockquote><p>I’ll write a separate article on how to make the most of it.</p><h3>Up and running in a minute</h3><pre>docker run -p 80:80 --restart always veegres/ivory</pre><p>Run the container, open the setup wizard at http://localhost, choose how people sign in, and add a cluster: type its node addresses, let Ivory detect the rest from one node, or deploy a brand-new one.</p><h3>And about that butterfly… 🦋</h3><p>You may have noticed Ivory has a new logo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OasdrygjqgK6SwFM.png" /></figure><p><em>Look closely 😉</em></p><p>It’s a butterfly. But look at it again: the wings are a pair of big ears, and the tail curls down like a trunk. The elephant is still there.</p><p>Ivory started as a tool for Postgres — and Postgres is an elephant. In my very first article I wrote <em>“When your elephant suddenly takes a nap, you rush to his side.”</em> That’s still true. But Ivory isn’t only about one elephant anymore. It looks after etcd, Redis, ClickHouse, MongoDB and ZooKeeper too, and it can reach them from a browser, a phone or an AI agent.</p><p>So the elephant didn’t go anywhere. It just grew wings. 🐘➡️🦋</p><h3>Get involved</h3><p>Ivory is free, open source under GPL-3.0, and built in my spare time. If you’d like to help:</p><ul><li>⭐ <strong>Star it on GitHub</strong> — one click that helps other people find it.</li><li>🧩 <strong>Add your database</strong> — every engine is a plugin, and there’s an AI agent to help you write one.</li><li>❤️ <strong>Support the project</strong> — sponsorship funds new database plugins and features.</li></ul><p>Treat your clusters with kindness, and they’ll show you the way. 😉</p><p><strong>Useful links:</strong></p><ul><li><a href="https://ivory.veegres.com/">Website</a></li><li><a href="https://ivory.veegres.com/docs/getting-started">Getting started</a></li><li><a href="https://ivory.veegres.com/docs/databases">Supported databases</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://ivory.veegres.com/support">Support Ivory</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07dd71c92976" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ivory v2.1.0 — Your Database Clusters Can Now Talk to AI]]></title>
            <link>https://anselvo.medium.com/ivory-v2-1-0-your-database-clusters-can-now-talk-to-ai-a56c39abfb79?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/a56c39abfb79</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Thu, 15 Oct 2026 18:51:20 GMT</pubDate>
            <atom:updated>2026-10-15T19:51:25.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wwaJFjCuSMIyWXFq1ZfSCg.jpeg" /></figure><h3>A built-in MCP server, one deploy flow for clusters and nodes, and health checks you can trust a little more</h3><p>At the end of the <a href="https://anselvo.medium.com/ivory-v2-0-0-beyond-postgres-4cfe865f2128">v2.0.0 article</a> I wrote about one direction I was really excited about: AI-assisted cluster management. I imagined asking <em>“Why is this PostgreSQL replica lagging?”</em> and getting an answer from an assistant that works through Ivory — with Ivory’s permissions — instead of having raw access to your databases and machines.</p><p>I also wrote: <em>“This is not part of v2.0.0 yet.”</em></p><p>Well. It is part of v2.1.0. 🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Su4opTJGKBtjH9YY.png" /><figcaption><em>Ivory: the cluster list, the health overview of every node, and the machine behind each one</em></figcaption></figure><p>If you haven’t met Ivory yet: it is an open-source, self-hosted tool to <strong>deploy, watch and fix</strong> database clusters from one place. It runs as one Docker container, reaches your machines over plain SSH and supports PostgreSQL with Patroni, plain PostgreSQL replication, etcd, Redis, ClickHouse, MongoDB and ZooKeeper.</p><p>Here is what’s new.</p><h3>🤖 A built-in MCP server</h3><p>Ivory now speaks the <a href="https://modelcontextprotocol.io/">Model Context Protocol</a>. The endpoint lives at /api/mcp, on the same address and port as the web UI — nothing new to deploy, nothing new to open in your firewall.</p><p>Connect Claude, Cursor, Codex, VS Code or any other MCP client, and everything Ivory already knows about your clusters becomes available in one conversation:</p><ul><li>node roles, states and replication lag</li><li>pending restarts and scheduled operations</li><li>Ivory’s own warnings (a node that left the cluster, a replica past its lag threshold, a node that can’t be reached)</li><li>the warnings the engine itself reports</li><li>VM metrics, processes and logs</li><li>container logs</li><li>the saved diagnostic queries for every engine</li></ul><p>And, if you allow it, the agent can act: switchover, restart, reload, run a query, cancel a stuck one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EY2sQPVDYJBYzhFV.png" /><figcaption><em>Asked “show me all active queries”, the agent finds a long-running pg_sleep on one Patroni replica across six Postgres nodes and offers to cancel it</em></figcaption></figure><h3>Permissions come first</h3><p>This was the part I cared about the most. <strong>An agent sees only the tools its user has permission for.</strong> Every tool reuses the permission of the REST route it mirrors, so nothing new has to be granted:</p><ul><li>a user who can view a cluster overview gets ivory_cluster_overview</li><li>a user who can’t run a switchover never even sees ivory_keeper_switchover</li><li>revoke a permission, and the agent loses the tool on its very next call — no reconnect needed</li></ul><p>If you want an agent that only diagnoses, give its user view.* permissions and nothing else. The tools that change something simply won&#39;t exist for it. Tools are also annotated as read-only or destructive, so your MCP client knows when to ask you before running one.</p><p>Some things are deliberately not exposed at all: erase, backups, vaults, certificates, users and permissions. An agent should never be able to widen its own access or move your secrets through its context.</p><h3>Connecting takes a minute</h3><p>Open <strong>Settings → Integrations → MCP Server</strong>. Pick a token lifetime (1 hour, 6 hours, 1 day, 15 days or 30 days), pick your client, and copy a ready-to-use config with the endpoint and token already filled in. It covers Claude Code, Cursor, VS Code, Codex, Antigravity, IntelliJ IDEA and Claude Desktop — each in its own shape, because they really are all slightly different.</p><p>For Claude Code it is one line:</p><pre>claude mcp add --transport http ivory http://localhost/api/mcp \<br>  --header &quot;Authorization: Bearer $TOKEN&quot;</pre><p>One honest warning: <strong>a token can’t be revoked.</strong> Ivory doesn’t store tokens, so one stays valid until it expires. Pick the shortest lifetime your agent needs, and treat a 30-day token like a password you can’t change for a month.</p><h3>“Is it broken, or can I just not reach it?”</h3><p>New check tools answer exactly that. ivory_cluster_check tests every node of a cluster at once — keeper, platform and database connections — and tells you whether it breaks at the vault, the certificate or the connection itself. Super useful for an agent, and honestly for a human too.</p><h3>🔐 Smarter sessions</h3><ul><li>POST /auth/token mints a token for an agent with a lifetime you choose, up to 30 days — never unlimited.</li><li>A minted token can’t mint another one, so it can never extend itself forever.</li><li>Your browser session now renews itself while you’re active, and signs you out after 30–60 minutes of inactivity.</li><li>HTTP requests and MCP tool calls are validated by exactly the same rules.</li></ul><h3>🚀 One deploy flow for clusters and nodes</h3><p>Deploying a whole cluster and deploying a single node now share one flow and one dialog: pick a template, fill in the machine, press Deploy.</p><p>And every node now reports how <strong>each step</strong> went — deploy (the container itself) and initialize (its post-scripts) — as done, failed or skipped. A partial deploy tells you exactly where it stopped instead of a vague &quot;something went wrong&quot;.</p><p>A failed container is also <strong>left on the host on purpose</strong>. It’s the only evidence of what went wrong, and Ivory can reach it through the cluster’s own config: read its logs, check its exit code, and now <strong>inspect</strong> it right from the Container tab.</p><h3>🩺 Health checks you can trust a bit more</h3><p>A lot of this release is invisible work on keeper adapters, the part of Ivory that talks to each engine:</p><ul><li><strong>More warnings.</strong> Adapters now pass through more of what the engine itself sees — etcd alarms, failed MongoDB heartbeats, a Redis replica’s broken master link, stuck ClickHouse replication tasks — merged per node and labelled by who reported them.</li><li><strong>A dead link is not zero lag.</strong> An unreachable node used to show lag 0, which looked perfectly healthy. Now it shows <em>unknown</em>. A wrong lag is worse than no lag.</li><li><strong>Fixed lag display</strong> across every engine, each in its own unit: bytes, seconds or Raft entries.</li><li><strong>Better Postgres lag checks</strong> and <strong>fewer requests to etcd</strong> on every poll.</li><li><strong>Fixes</strong> for a ClickHouse delay bug and a keeper request that shared the cluster request’s timeout.</li><li><strong>Built-in queries update on restart</strong> — unless you’ve edited them yourself, then they’re yours and stay untouched.</li></ul><h3>🦋 A new look</h3><p>You might notice a new logo and favicon. The elephant hasn’t gone anywhere — it just learned to fly. More about this, and about Ivory’s new website, in the next article. 😉</p><p>Plus a mobile header fix, so the 3 a.m. check from your phone looks right too.</p><h3>⬆️ Upgrading</h3><p>v2.1.0 is a <strong>drop-in upgrade</strong> from v2.0.0. Storage and the backup format are unchanged.</p><p>There are four new permissions for the check tools: view.cluster.check, view.node.keeper.check, view.node.platform.check and view.query.db.check. Superusers get them automatically; grant them to everyone else in <strong>Settings → Permissions</strong>.</p><pre>docker run -p 80:80 --restart always veegres/ivory</pre><h3>What’s next</h3><p>The MCP server changes how I use Ivory myself. Instead of clicking through clusters one by one, I ask <em>“Check all my clusters and tell me if anything needs attention”</em> — and get an answer that’s grounded in what Ivory actually sees. In the next articles I’ll show how to make the most of it, and go through every database Ivory supports, one by one.</p><p>If Ivory saves you some time, give it a ⭐ on GitHub. It helps other people find it, and keeps me building it.</p><p><strong>Useful links:</strong></p><ul><li><a href="https://github.com/veegres/ivory/releases/tag/v2.1.0">Release v2.1.0</a></li><li><a href="https://ivory.veegres.com/">Website &amp; docs</a></li><li><a href="https://ivory.veegres.com/docs/mcp">MCP server docs</a></li><li><a href="https://github.com/veegres/ivory">GitHub</a></li><li><a href="https://ivory.veegres.com/support">Support Ivory</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a56c39abfb79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ivory v2.0.0 — Beyond Postgres]]></title>
            <link>https://anselvo.medium.com/ivory-v2-0-0-beyond-postgres-4cfe865f2128?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cfe865f2128</guid>
            <category><![CDATA[clickhouse]]></category>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 21:19:51 GMT</pubDate>
            <atom:updated>2026-09-09T06:54:56.838Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x2uAOFbnGxrMesQbniV6Vg.png" /></figure><p>Ivory started as a small tool to make working with PostgreSQL and Patroni clusters easier.</p><p>When I started building it, the goal was quite simple: have one place where I could see the state of a cluster, troubleshoot problems, execute queries, manage nodes, and perform Patroni operations without constantly switching between a browser, terminal, SSH sessions, and database clients.</p><p>Now Ivory helps to do and simplify this for other complex database systems like Mongo, ClickHause, Redis, etc. And you can always try to add any database that you which, it is easy with AI coding agents. There is a subagent for this.</p><h3>From Postgres to a pluggable architecture</h3><p>Ivory now introduces a new core concept: <strong>Keeper</strong>. A Keeper is a generic management layer responsible for cluster operations. It can be a standalone agent running next to a database, or a management system embedded directly into the database engine. Patroni is now simply one Keeper implementation. This means that Ivory no longer needs to understand the details of every database or high-availability system itself. Those details can live inside their respective plugins. This is the foundation for making Ivory a database cluster management tool rather than a PostgreSQL/Patroni management tool.</p><h3>Supporting more than PostgreSQL</h3><p>With the new architecture in place, v2.0.0 brings the first wave of support beyond Patroni.</p><p>Ivory now has Keepers and integrations for:</p><ul><li><strong>PostgreSQL / Patroni</strong></li><li><strong>MongoDB</strong></li><li><strong>Redis</strong></li><li><strong>ClickHouse</strong></li><li><strong>ZooKeeper</strong></li><li><strong>etcd</strong></li></ul><p>The integrations are at different stages of maturity, but they all share the same general idea: Ivory provides a common management interface while the Keeper handles the database-specific operations.</p><p>For example, MongoDB can use its native replica-set functionality, while ClickHouse can use ZooKeeper for replication coordination.</p><p>This is important because the goal isn’t to make every database look identical. Databases are different. Their replication, failover, configuration, and operational models are different too. Instead, Ivory provides a common layer around those differences.</p><h3>Deploy clusters from Ivory</h3><p>Another major change in v2.0.0 is <strong>cluster deployment</strong>. Previously, Ivory was mainly something you connected to an existing cluster. Now Ivory can create a cluster for you.</p><p>You can deploy a new cluster directly from the UI, including the nodes and their configuration, instead of preparing everything manually and registering the finished cluster afterward.</p><p>This is where deployment templates become useful. A deployment template describes how a cluster should be created. You can define the Docker image and the configuration once and reuse it when creating another cluster. So instead of repeating the same deployment steps every time you need a new environment, you can simply deploy another cluster from the template.</p><p>This is especially useful for development and testing environments, where creating and destroying clusters is a common part of the workflow.</p><h3>Managing infrastructure, not just databases</h3><p>This change also affects how Ivory thinks about nodes. A database node isn’t necessarily just a database anymore. Ivory now has a more generic model around the machine, the software running on it, and the database or Keeper running there.</p><p>Today, deployment is based on Docker over SSH, without requiring an orchestrator or a separate Ivory agent on every machine. The architecture is intended to leave room for other platforms in the future.</p><p>The long-term goal is to make the platform behind the database interchangeable as well.</p><h3>User management</h3><p>v2.0.0 also adds user management directly to Ivory. Administrators can now create and manage Ivory users from the Settings page instead of managing accounts externally. Combined with Ivory’s authentication and permissions system, this makes it more practical to run Ivory as a shared service for a team rather than only as a local tool. Different users can have different permissions for clusters, queries, configuration, and other operations. This becomes particularly important when Ivory is used to manage production infrastructure.</p><h3>A single place to operate your clusters</h3><p>The direction of Ivory is becoming increasingly clear. I don’t want it to be another monitoring dashboard that tells you that something is wrong. I want it to be a place where you can actually <strong>do something about it</strong>.</p><ul><li>Deploy a cluster.</li><li>Check its health.</li><li>Inspect replication.</li><li>Look at logs.</li><li>Check the machine.</li><li>Run a diagnostic query.</li><li>Restart a node.</li><li>Perform a failover.</li><li>Change configuration.</li></ul><p>And do all of that without leaving the same interface.</p><p>Ivory’s existing features already cover many of these operations, and the new Keeper architecture gives us a way to extend them to more databases and HA systems.</p><h3>Looking towards AI</h3><p>There is one more direction I’m particularly interested in exploring: <strong>AI-assisted cluster management</strong>. Ivory already provides an interface through which cluster operations can be performed. The next step is to make those capabilities available to AI assistants through the <strong>Model Context Protocol (MCP)</strong>. The plan is to add an MCP server to Ivory so that an AI assistant can interact with the infrastructure through Ivory rather than having direct access to the underlying databases and machines.</p><p>Imagine asking:</p><blockquote><em>“Why is this PostgreSQL replica lagging?”</em></blockquote><p>The assistant could inspect the cluster, check replication status, look at relevant metrics and logs, and run diagnostic queries.</p><p>Or:</p><blockquote><em>“Check all my clusters and tell me if anything needs attention.”</em></blockquote><p>And eventually, with the appropriate permissions:</p><blockquote><em>“Fail over to the healthiest replica.”</em></blockquote><p>The important part here is that the AI would operate through Ivory’s existing authentication and permission model rather than getting unrestricted access to the infrastructure.</p><p>This is <strong>not part of v2.0.0 yet</strong>. MCP support is a planned direction for future versions. But the new architecture makes this idea much more realistic. The same operations that are available to a human through the UI can eventually become available to an AI agent through a well-defined interface.</p><p>v2.0.0 is really the beginning of a new stage for Ivory. The Keeper architecture is the foundation for that. More databases, more deployment platforms, more cluster operations, and eventually AI-assisted management are all possible directions from here. Ivory started with PostgreSQL.</p><p><strong>Now it’s time to go beyond Postgres.</strong></p><h3>Try Ivory v2.0.0</h3><p>Ivory is open source and available on GitHub.</p><p>If you work with PostgreSQL, MongoDB, Redis, ClickHouse, or other database infrastructure, give it a try.</p><p>And if you find it useful, consider giving the project a ⭐ on GitHub. It helps the project get discovered and motivates me to keep building it.</p><p><strong>Ivory v2.0.0 is available now.</strong></p><p><a href="https://github.com/veegres/ivory">GitHub — Ivory</a></p><p><a href="https://github.com/veegres/ivory/releases/tag/v2.0.0">Release — v2.0.0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cfe865f2128" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ivory 1.4.0]]></title>
            <link>https://anselvo.medium.com/ivory-1-4-0-aae9610f1fd5?source=rss-36568f310f85------2</link>
            <guid isPermaLink="false">https://medium.com/p/aae9610f1fd5</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[ivory-veegres]]></category>
            <category><![CDATA[postgresql]]></category>
            <dc:creator><![CDATA[Andrei Sergeev]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 23:14:47 GMT</pubDate>
            <atom:updated>2025-12-30T23:14:47.453Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ql2QYUdx_gbflPBsSDLSRg.png" /></figure><h3>Authentication &amp; Security Overhaul</h3><p>Ivory now supports <strong>LDAP</strong> and <strong>OIDC/SSO</strong> alongside basic authentication, making it significantly easier to integrate with existing identity infrastructure. Each provider includes connection testing capabilities, and multiple login options can be configured for users to choose from.</p><p>A full <strong>permissions system</strong> has been added to control access to specific clusters, queries, and settings. A new permissions management UI allows administrators to grant and revoke access, while users can request permissions they need. This makes Ivory suitable for larger teams with varying access requirements.</p><h3>Better Cluster Management</h3><p>Cluster management is now more reliable and intuitive, with cluster detection logic moved from the frontend to the backend, eliminating an entire class of synchronization bugs. When cluster configuration issues arise, an <strong>auto-fix button</strong> appears that can automatically resolve common problems.</p><p>Additional features include a <strong>backup capability</strong> with proper permission controls, a free space utility, and search functionality for quickly locating clusters by name. Previous issues where cluster updates wouldn’t reflect properly have been resolved.</p><h3>Query Improvements</h3><p>Queries now support <strong>auto-refresh</strong> with configurable intervals — ideal for monitoring dashboards or observing real-time data changes. Default refresh periods can be set and persist across sessions.</p><p>Console queries are now separated from template execution, enabling more granular permission controls and improved security. Query parsing and normalization have been enhanced, along with better support for database schemas in connections.</p><h3>UI Polish</h3><p>Error messages are now clearer and more visible throughout the application. Improvements include better loading states, enhanced progress indicators, and a refined settings interface. Permission-gated features use a consistent access control wrapper, providing clear feedback about feature availability.</p><h3>Notable Bug Fixes</h3><ul><li>Resolved cluster update synchronization issues</li><li>Fixed bloat status display bugs</li><li>Corrected job logs not appearing</li><li>Addressed permission validation edge cases</li><li>Resolved various hot reload issues in development</li><li>Enhanced authentication error handling</li></ul><h3>Migration Notes</h3><p><strong>⚠️ Breaking Changes</strong>: This release includes significant architectural changes that are not backward compatible with v1.3.8.</p><p><strong>Recommended approach</strong>: Fresh installation from scratch.</p><p>If you found this project helpful, interesting, or inspiring, please consider giving it a star ⭐!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aae9610f1fd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>