Comments (10)
I re-created this, seems the manifest is being lost on deserialisation, checking with the akka dev team
from akka-persistence-cassandra.
I think this is a bug in the akka persistence default serialiser for PersistentRepr, i changed our code to:
private def persistentToByteBuffer(persistentRepr: PersistentRepr): ByteBuffer = {
val bytes = serialization.serialize(persistentRepr).get
val back = serialization.deserialize(bytes, classOf[PersistentRepr]).get
require(persistentRepr.manifest == back.manifest)
ByteBuffer.wrap(bytes)
}
And it fails.
from akka-persistence-cassandra.
Thanks for the ping @chbatey! Seems weird, I'll look into it today after some Http work.
Maybe it's some silly mistake as we have payloadManifest
and manifest
, perpahs our tests were setting up to much manually to catch this hm, I'll report back soon!
from akka-persistence-cassandra.
Looks like this is fixed in master of akka, will check when we upgrade to 2.4-RC2
from akka-persistence-cassandra.
Yup, and we'll release the RC2 today to not block you guys with this bug.
Thanks for catching it again.
from akka-persistence-cassandra.
Thanks guys!
from akka-persistence-cassandra.
Hi guys, the fix in Akka has been pushed – please bump to 2.4.0-RC2
👍
from akka-persistence-cassandra.
Thanks @ktoso works for me, @pjan ?
from akka-persistence-cassandra.
can be closed.
from akka-persistence-cassandra.
Yay :)
On Sep 16, 2015 09:27, "Christopher Batey" [email protected] wrote:
—
Reply to this email directly or view it on GitHub
#75 (comment)
.
from akka-persistence-cassandra.
Related Issues (20)
- Very slow replay message request seems to prevent message write to complete HOT 4
- Using different tables of Cassandra for sharding coordinator HOT 7
- Config constructor parameter HOT 7
- Add support for Cassandra 3.0 HOT 2
- Remove schema creation from CassandraJournal and CassandraSnapshotStore HOT 5
- SSLOptions for Cassandra 3.x? HOT 1
- Can't connect to Cassandra 3.0 HOT 2
- Rename artifact for Cassandra 3 from ...dra3 to ...dra_3 HOT 2
- Deleting message generates batches of single delete HOT 4
- Update to Akka 2.4.1 HOT 1
- avoid blocking Cassandra API calls HOT 1
- avoid throwing exception when plugin actors are started HOT 1
- cold_reads_to_omit parameter is not C* 2.2.x compatible HOT 2
- Potential race on keyspace initialization HOT 2
- CassandraReadJournal doesn't create metadata table HOT 4
- Using eventsByTag gives Exception HOT 6
- I think the persistence query streams should work even if schema doesn't exist HOT 2
- Is there any documentation or examples how do i use this lib HOT 1
- Install multi DC cassandra on two separate Openshift Origin clusters to get HA and DR
- Writing tags has failed ... Batch too large.
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-cassandra.