ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduard Shangareev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6277) Convert WAL to human readable form
Date Thu, 14 Sep 2017 13:33:00 GMT

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

Eduard Shangareev commented on IGNITE-6277:
-------------------------------------------

So, I think, the first version of the converter is ready to review.

Please, review!

> Convert WAL to human readable form
> ----------------------------------
>
>                 Key: IGNITE-6277
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6277
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.1
>            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)

Mime
View raw message