ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Pavlov <dpavlov....@gmail.com>
Subject Re: Write ahead log and early eviction of new elements
Date Mon, 19 Feb 2018 16:54:14 GMT
Hi Michail,

To avoid confusion between real evictions and PDS-enabled region pages
rotation with disk we've desided to call second process as 'page
replacement'.

In future releases all messages related to page purge to disk will contain
'page replacement' instead of eviction. Hope it helps to separate these two
process.

Sincerely,
Dmitriy Pavlov

ср, 14 февр. 2018 г. в 19:14, Mikhail <michael.cherkasov@gmail.com>:

> Hi Raymond,
>
> >I understand when I add an element to a cache that element is serialized,
> >placed into the local memory for the cache on that server and then placed
> >into the WAL pending checkpointing (merging into the persistence store).
>
> First, the update will be written into WAL and only then into local memory.
>
>
> >What happens if the newly added element is evicted and
> > then re-read from the cache by the client before the next checkpoint
> > occurs?
>
> What do you mean by "evicted"? Ignite evicts memory pages to a disk if
> there's not enough space to save new record or it needs to load a page from
> disk and for this purpose, it will evict some page from memory.
> But it will evict the only page that is already saved to the disk.
>
> Thanks,
> Mike.
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Mime
View raw message