You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Eduard Shangareev (JIRA)" <ji...@apache.org> on 2017/09/06 10:23:03 UTC

[jira] [Created] (IGNITE-6277) Convert WAL to human readable form

Eduard Shangareev created IGNITE-6277:
-----------------------------------------

             Summary: Convert WAL to human readable form
                 Key: IGNITE-6277
                 URL: https://issues.apache.org/jira/browse/IGNITE-6277
             Project: Ignite
          Issue Type: Bug
            Reporter: Eduard Shangareev
            Assignee: Eduard Shangareev
             Fix For: 2.3


Now there is no way to make wal visible or understandable without coding.

I propose to write utility which would convert any given compatible WAL to textual form.

Something like this:
{code}
[W] InsertRecord [idx=19, io=H2ExtrasLeafIO[ver=1], rightId=0000000000000000, super=PageDeltaRecord [grpId=2141373875, pageId=0002ffff00000011, super=WALRecord [size=61, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504497, len=61, forceFlush=false], type=BTREE_PAGE_INSERT]]]
[W] DataRecord [writeEntries=[DataEntry [op=CREATE, writeVer=GridCacheVersion [topVer=116006687, order=0, nodeOrder=1], partId=29, partCnt=33]], super=WALRecord [size=171, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504558, len=171, forceFlush=false], type=DATA_RECORD]]
[W] PagesListRemovePageRecord [rmvdPageId=0001000c0000002f, pageId=0001000c0000000a, grpId=-1368047377, super=PageDeltaRecord [grpId=-1368047377, pageId=0001000c0000000a, super=WALRecord [size=37, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504729, len=37, forceFlush=false], type=PAGES_LIST_REMOVE_PAGE]]]
[W] DataPageInsertRecord [super=PageDeltaRecord [grpId=-1368047377, pageId=0001000c0000002f, super=WALRecord [size=76, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504766, len=76, forceFlush=false], type=DATA_PAGE_INSERT_RECORD]]]
[W] PagesListAddPageRecord [dataPageId=0001000c0000002f, super=PageDeltaRecord [grpId=-1368047377, pageId=0001000c0000000b, super=WALRecord [size=37, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504842, len=37, forceFlush=false], type=PAGES_LIST_ADD_PAGE]]]
[W] DataPageSetFreeListPageRecord [freeListPage=281526516318219, super=PageDeltaRecord [grpId=-1368047377, pageId=0001000c0000002f, super=WALRecord [size=37, chainSize=0, pos=FileWALPointer [idx=0, fileOffset=2504879, len=37, forceFlush=false], type=DATA_PAGE_SET_FREE_LIST_PAGE]]]

{code}



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