Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback: ScyllaDB support and compatibility considerations. #135

Open
hanishi opened this issue Mar 7, 2024 · 5 comments
Open

Feedback: ScyllaDB support and compatibility considerations. #135

hanishi opened this issue Mar 7, 2024 · 5 comments

Comments

@hanishi
Copy link

hanishi commented Mar 7, 2024

When attempting to use the tables-autocreate feature specified in an application.conf file, I encountered a failure due to a compatibility issue between Cassandra and ScyllaDB. The problem arises because the unchecked_tombstone_compaction option, used within the compaction strategy configuration, is not recognized by ScyllaDB.

The plugin expects this option during the table creation process. The relevant code can be found here.

I worked around this by manually creating the necessary tables without using the unchecked_tombstone_compaction option. This workaround suggests that broader compatibility might be achievable with some adjustments.
Given the growing popularity and adoption of ScyllaDB, it would be nice if future versions of the plugin could consider providing some support for ScyllaDB.

@pjfanning
Copy link
Contributor

pjfanning commented Mar 7, 2024

Would it be possible to tell ScyllaDB team about the missing support for this param? They seem to claim that they support tombstone compaction - eg scylladb/scylladb#1487 and https://java-driver.docs.scylladb.com/scylla-3.11.0.x/api/com/datastax/driver/core/schemabuilder/TableOptions.CompactionOptions.html#uncheckedTombstoneCompaction-java.lang.Boolean-

@pjfanning
Copy link
Contributor

also: https://lists.apache.org/api/plain?thread=16b01wk5tksg6646npl71n7fzck7o6mg

@hanishi
Copy link
Author

hanishi commented Mar 7, 2024

Well, the tombstone compaction, by means of tombstone_threshold and tombstone_compaction_interval, is supported, but this specific option isn't I guess. 😩

ConfigurationException: Invalid compaction strategy options {{unchecked_tombstone_compaction, false}} for chosen strategy type

@hanishi
Copy link
Author

hanishi commented Mar 7, 2024

@pjfanning
Copy link
Contributor

@hanishi thanks for the details. They should be useful for other ScyllaDB users.

The docs say that the tables should be manually set up.
https://pekko.apache.org/docs/pekko-persistence-cassandra/current/journal.html#schema

I think I can maybe come back and update the docs a bit but it take a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants