Comments (4)
That is correct, the deleted
column will still be there, the only difference will be the removal of the logical-delete
option in the HOCON config. By doing this, we can make journal query a lot simpler without having to include include-deleted
flag. All of journal queries can be turned into pre-compiled queries that should improve read speed/throughput even more.
from akka.persistence.sql.
IIRC when I originally ported things over, persistence-jdbc still had logical deletes as an option but marked 'will be removed in next major release'
So, if we want to get rid of it that makes sense, as long as there's no demand for it.
Do note that (at least last I checked) the IsDeleted
column is still utilized for 'hard' deletes in native jvm; that's how they get around the need for a JournalMetadata
table (just keep the last column in DB with IsDeleted=1
)
The only 'devils advocate' though I have in favor of keeping soft deletes, is that it can be used as a form of runtime optimization (where a background job cleans up the unneeded soft delete records rather than having them cleared in the plugin) but that feels a bit extreme even for my taste.
from akka.persistence.sql.
Yeah I don't think we should allow the user to specify what type of delete they want - the plugin should just do what it thinks is best.
from akka.persistence.sql.
Implemented in #124
from akka.persistence.sql.
Related Issues (20)
- Journal event deletion behavior difference HOT 10
- Need to reintroduce row insertion optimization
- Rebrand this repo to "Akka.Persistence.Sql" HOT 1
- Upgrade Linq2db HOT 3
- `CurrentEventsByTag` query on PostgreSql returns unordered events
- Implement WriterUuid feature
- Add CSV and TagTable unit tests for query
- Add documentation for beta release
- Make sure to add migration not supported warning in documentation
- Look into supporting DateTime and long databases
- Bump Npgsql from 6.0.7 to 7.0.2
- Csv and tag table based query configuration isn't being read consistently on all code path
- Make sure that we're using the new protobuf backed serializer HOT 3
- Update default HOCON configuration to be greenfield project friendly
- Auto initialization of tables isn't supported from the read journal side. HOT 5
- CurrentEventsByTag query on Sqlite has a weird initial delay HOT 7
- High memory usage HOT 16
- Feature: Store Tags in separate table rather than inline
- Feature Req: Create a Helper application to help users migrate away from journal_metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka.persistence.sql.