Rob A'Court

Results 18 issues of Rob A'Court

Currently connection errors will restart the ReplicationClient, ShapeLogCollector and all shape Consumers, of which there can be many thousands. This can be slow and cause errors due to the processes...

Part of #3414, this PR sends individual operations from the ReplicationClient to ShapeLogCollector. This should reduce the working memory used by the ReplicationClient, but the ultimate aim is to send...

As part of [Commit c8c54b2](https://github.com/electric-sql/electric/commit/c8c54b25f24a3ae644ea7e9c51feaeafde76e284) we no longer wait for the shapes to be loaded before starting replication streaming. This introduced a bug where Postgres can close the connection due...

A shape consumer's heap currently expands to allow complete transaction to be held in memory, however there are scenarios where the complete transaction does not need to be held in...

Part of #3413 and following on from #3414 . The consumer only buffers when the shape depends on subqueries. If the shape does not depend on subqueries, changes are written...

Part of #3413 . The shape log collector should send individual changes, transaction starts and commits to the shapes that they affect. The consumers can then buffers to form a...

From a customer's perspective we've settled on the name "source" for a electric connection to a database, but we also call it "stack". It seems to be a frequent root...

As mentioned by @alco in #2925 fsync (or `:file.datasync/1` in our code) does not guarantee that the data has been written to disk, only that the OS has been asked...