[jira] [Created] (IGNITE-4812) Disable EventStorageSpi by default

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4812) Disable EventStorageSpi by default

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-4812:
-------------------------------------------

             Summary: Disable EventStorageSpi by default
                 Key: IGNITE-4812
                 URL: https://issues.apache.org/jira/browse/IGNITE-4812
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.9
            Reporter: Valentin Kulichenko
             Fix For: 2.0


Current default implementation of {{EventStorageSpi}} is {{MemoryEventStorageSpi}}. It consumes a lot of memory, while is used only for events querying (i.e. not listening), which is a fairly rare use case.

Need to:
* Introduce {{NoOpEventStorageSpi}}.
* Make {{NoOpEventStorageSpi}} the default one.
* Throw an exception when {{IgniteEvents#localQuery}} or {{#remoteQuery}} method is called with default setting. Exception message should explain how to fix it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)