-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IGNITE-17613 Copy WAL segments in incremental snapshot #10292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-17613 Copy WAL segments in incremental snapshot #10292
Conversation
...es/core/src/main/java/org/apache/ignite/internal/pagemem/wal/IgniteWriteAheadLogManager.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/ignite/internal/pagemem/wal/IgniteWriteAheadLogManager.java
Outdated
Show resolved
Hide resolved
.../org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java
Outdated
Show resolved
Hide resolved
...che/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotFutureTask.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/ignite/internal/pagemem/wal/IgniteWriteAheadLogManager.java
Outdated
Show resolved
Hide resolved
...rg/apache/ignite/internal/processors/cache/persistence/wal/aware/SegmentCompressStorage.java
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/ignite/internal/pagemem/wal/IgniteWriteAheadLogManager.java
Outdated
Show resolved
Hide resolved
...che/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotFutureTask.java
Outdated
Show resolved
Hide resolved
...che/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotFutureTask.java
Outdated
Show resolved
Hide resolved
.../org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java
Outdated
Show resolved
Hide resolved
...es/core/src/main/java/org/apache/ignite/internal/pagemem/wal/IgniteWriteAheadLogManager.java
Outdated
Show resolved
Hide resolved
|
|
||
| /** {@inheritDoc} */ | ||
| @Override public File compressedSegment(long idx) { | ||
| return archiveSegment(idx, ZIP_SUFFIX); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should return null if compression is disabled. Currently it creates a File object by path, that never exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also archiveSegment must return null if archive is disabled.
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.