[
https://issues.apache.org/jira/browse/IGNITE-12526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040160#comment-17040160
]
Aleksey Vysotin commented on IGNITE-12526:
------------------------------------------
[~djm132], as IgniteInstanceName is a nullable parameter, what will be the
proper way to fix this: just make a more readable WAL name or not create a file
archiver instance at all in that case?
> WAL file archiver logging bug
> -----------------------------
>
> Key: IGNITE-12526
> URL: https://issues.apache.org/jira/browse/IGNITE-12526
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Affects Versions: 2.7.6
> Reporter: Mykhaylo Stepanov
> Assignee: Aleksey Vysotin
> Priority: Trivial
> Labels: easyfix
>
> WAL file archive logs null if instance name not set. Example output:
> {noformat}
> 2020/01/10 20:42:58.355 [wal-file-archiver%null-#84] INFO Copied
> file{noformat}
>
> Check for null instance name should be added in FileWriteAheadLogManager.java
>
> {code:java}
> private FileArchiver(SegmentAware segmentAware, IgniteLogger log) throws
> IgniteCheckedException {
> super(cctx.igniteInstanceName(), "wal-file-archiver%" +
> cctx.igniteInstanceName(), log,
> cctx.kernalContext().workersRegistry());
> init(segmentAware);
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)