Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRfix(storage): index GC keeps an older duplicate entry while the newer one is invisible to an active reader
An index scan could miss a vertex or edge whose indexed key was written again while an older transaction was still running. The same GC sweep in unique constraints could drop the only committed entry for a key, so a later transaction could…
Memgraph#5343 · by andrejtonev - Merged PRAI-license: bound vector-index embeddings in queries (lazy VectorRef)
Under the AI_PLATFORM license the vector index is exempt from the memory limit, but reading an indexed embedding copied its floats into capped graph memory, so sorting or collecting many embeddings aborted well below --memory-limit.…
Memgraph#4780 · by andrejtonev - Merged PRfix(storage): charge vector delta before-images to the tenant; honour delta flag in UpdateProperties
Overwriting or removing a vector-indexed property keeps a copy of the old embedding until garbage collection. That copy was counted only in the global query+graph memory, never in the database's own graph_memory_tracked, so per-database…
Memgraph#5229 · by andrejtonev - Merged PRtest(e2e): end concurrency fixtures' transactions before the next test
Problem tests/e2e/concurrency/concurrency.py::test_concurrency_if_no_delta_on_same_edge_property_update fails intermittently in setup with Cannot resolve conflicting transactions. One example is the Release e2e job on #5009.…
Memgraph#5138 · by andrejtonev - Merged PRfix(communication): back off on transient accept errors instead of flooding logs or killing listeners
When Memgraph ran out of file descriptors, the Bolt listener retried accept in a tight loop and logged every failure — millions of Listener failed on accept: Too many open files lines that filled /var/log — while the HTTP metrics and…
Memgraph#5129 · by andrejtonev - Merged PRfix(bolt): leave the session unchanged when run-time configuration fails
RuntimeConfig::Configure applied a Bolt run-time metadata change (db, imp_user) step by step and could throw after the user or database had already been switched, while the cached metadata still described the last successful state.…
Memgraph#5135 · by andrejtonev - Merged PRfix(release): raise the open files limit (LimitNOFILE, soft to hard at startup)
Memgraph's package set no per-process open files limit, so under systemd it ran with a soft limit of 1024 and hit Too many open files at roughly 950 connections; our docs pointed at the system-wide fs.file-max instead. Changes The systemd…
Memgraph#5132 · by andrejtonev - Merged PRfix(auth): deny sessions whose user or roles were dropped
A session whose user (or all of whose roles) was dropped could keep working, and with more rights than before: once an up-to-date check (transaction or session management, DROP DATABASE FORCE, triggers, streams) noticed the drop, later…
Memgraph#5029 · by andrejtonev - Merged PRperf(storage): experimental commit-lock narrowing — BEGIN no longer waits on slow commits
In in-memory storage, a commit waiting on WAL or SYNC/STRICT_SYNC replication blocked every new transaction, reads included, so read throughput collapsed under replicated writes. Changes New opt-in, startup-only flag…
Memgraph#4685 · by andrejtonev - Merged PRfix(query): evaluate signed numbers and reject unsupported expressions in system-query literal slots
A signed number inside a map or list value of a system query (server-side parameters, vector index config, settings, TTL) was silently stored as null, so SET GLOBAL PARAMETER p = {a: -1} lost data and resize_coefficient: -1 failed with a…
Memgraph#5026 · by andrejtonev - Merged PRperf(auth): stop holding the global auth lock across logins and query checks
Every login held the global auth lock exclusively across the SSO/auth-module call or bcrypt, and every query took the same lock for its permission check. One slow login stalled every query on the instance (reported with SSO on 3.13).…
Memgraph#4966 · by andrejtonev - Merged PRfix(storage): keep the property list when CREATE VECTOR INDEX rejects an entity
When CREATE VECTOR [EDGE] INDEX failed while populating, for example on a dimension mismatch, the rejected node or edge kept its property tagged for the rolled-back index. Reading that property and CREATE SNAPSHOT then failed with Vector…
Memgraph#4995 · by andrejtonev - Merged PRfix(storage): keep the embedding when a map-style property write rolls back
Rolling back SET n = {...}, SET n = {} or SET n += {...} (or the edge forms) on an entity with a vector-indexed property wiped its embedding: it read [] and dropped out of vector search. While the transaction was open, other readers saw []…
Memgraph#4991 · by andrejtonev - Merged PRperf(communication): arm plain-TCP Bolt reads off the strand again
PR #4577 (SHOW/TERMINATE SESSIONS) moved Session::DoRead()'s read-arming from the worker thread onto the session strand via boost::asio::dispatch, so the socket stays single-owner now that a foreign admin thread can close it. With the…
Memgraph#4958 · by andrejtonev - Merged PRfeat(dbms): close idle sessions that keep a FORCE-dropped database pinned
What & why DROP DATABASE … FORCE (#4573) leaves the dropped database draining until nothing holds it. A Bolt connection whose current database it was keeps it pinned until the client sends another query — which an idle pooled connection…
Memgraph#4843 · by andrejtonev