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

Configuration Validation Fails for 'ignite.expiration' in Ignite 3.0 #11885

Open
97xbug opened this issue Feb 18, 2025 · 3 comments
Open

Configuration Validation Fails for 'ignite.expiration' in Ignite 3.0 #11885

97xbug opened this issue Feb 18, 2025 · 3 comments
Labels

Comments

@97xbug
Copy link

97xbug commented Feb 18, 2025

Description:
When using the following configuration in Ignite 3.0:

{
  ignite{
    expiration{
      batchSize=1000,
      checkFrequency=600000,
      parallelismLevel=1
    }
  }
}

The error occurs:

Caused by: org.apache.ignite.configuration.validation.ConfigurationValidationException: Failed to parse HOCON: 'ignite' configuration doesn't have the 'expiration' sub-configuration
	at org.apache.ignite.internal.configuration.ConfigurationDynamicDefaultsPatcherImpl.convertToSuperRoot(ConfigurationDynamicDefaultsPatcherImpl.java:85)
	at org.apache.ignite.internal.configuration.ConfigurationDynamicDefaultsPatcherImpl.patchWithDynamicDefaults(ConfigurationDynamicDefaultsPatcherImpl.java:57)
	at org.apache.ignite.internal.configuration.storage.LocalFileConfigurationStorage.patch(LocalFileConfigurationStorage.java:159)
	at org.apache.ignite.internal.configuration.storage.LocalFileConfigurationStorage.readHoconFromFile(LocalFileConfigurationStorage.java:193)
	... 28 more

Environment:

  • Ignite 3.0.0
  • JDK 11
  • OS: Linux

Questions
How can I implement expiration configuration on ignite3.0.0 version?

@ptupitsyn
Copy link
Contributor

Eviction and expiration are not yet implemented in Ignite 3.
I've created a ticket to remove misleading parts from the docs: https://issues.apache.org/jira/browse/IGNITE-24543

@97xbug
Copy link
Author

97xbug commented Feb 19, 2025

Thank you. I want to confirm again whether the "EXPIRE AT" SQL syntax is implemented in Ignite 3.0.0. Here is my use case:
Image

@ptupitsyn
Copy link
Contributor

EXPIRE AT is not supported yet, too.

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

No branches or pull requests

3 participants