You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2017/10/02 13:37:00 UTC

[jira] [Commented] (IGNITE-6540) Human readable WAL parser result has no human readable data

    [ https://issues.apache.org/jira/browse/IGNITE-6540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188011#comment-16188011 ] 

Dmitriy Pavlov commented on IGNITE-6540:
----------------------------------------

Hi, [~qvad], 

you can find your update in WAL here:
[W] DataRecord [writeEntries=[DataEntry [cacheId=-971008671, op=UPDATE, writeVer=GridCacheVersion [topVer=118430823, order=1506950862998, nodeOrder=1], partId=0, partCnt=1]], super=WALRecord [size=95, chainSize=0, pos=null, type=DATA_RECORD]]
 
You can find more information about WAL records and structure here in wiki: https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-WAL

> Human readable WAL parser result has no human readable data
> -----------------------------------------------------------
>
>                 Key: IGNITE-6540
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6540
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Dmitry Sherstobitov
>            Assignee: Dmitriy Pavlov
>             Fix For: 2.3
>
>         Attachments: wal_generator_result.txt
>
>
> Simple example with put 1 record in cache generation a lot of data in WAL
> {code:java}
> try (Ignite ignite = Ignition.start("examples/config/persistentstore/example-persistent-store.xml")) {
>     try (IgniteCache<Integer, String> cache = ignite.getOrCreateCache(CACHE_NAME)) {
>          cache.put(1, "NEW_VALUE_1");            
>     }
> }
> {code}
> See result of script in attachments



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)