Error restarting the node with switching from disabled WAL archiving to enabled

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error restarting the node with switching from disabled WAL archiving to enabled

Kirill Tkalenko
Hello everyone!

I came across the fact that if we started a node with WAL archiving disabled, and then poured data there and there were more than DataStorageConfiguration#walSegments, then when we try to restart the node with WAL archiving enabled, there will be an error. Workaround for this error: Move all segments to WAL archive directory (include consistentId directory) as they are except the last one. Last one rename as index % DataStorageConfiguration#walSegments. I think that this workaround should be done automatically, which I want to do inĀ https://issues.apache.org/jira/browse/IGNITE-13877