# Persistent queue enabled - Version mismatch

**URL:** https://discuss.elastic.co/t/persistent-queue-enabled-version-mismatch/124788
**Category:** Logstash
**Created:** [March 20, 2018, 2:30pm UTC](https://discuss.elastic.co/t/persistent-queue-enabled-version-mismatch/124788 "2018-03-20T14:30:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![venkat1234](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@venkat1234](https://discuss.elastic.co/u/venkat1234)
#### Post date: [March 20, 2018, 2:30pm UTC](https://discuss.elastic.co/t/persistent-queue-enabled-version-mismatch/124788/1 "2018-03-20T14:30:45Z")

</div>

Running ELK 5.6.5 with persistent queue enabled in logstash.yml running on centos 7.1

queue.type: persisted  
queue.max\_events: 50

Run into following exception frequently  
org.logstash.ackedqueue.io.AbstractByteBufferPageIO$PageIOInvalidVersionException: Expected page version=1 but found version=0

entire server running ELK is powered off instantaneously (or sometime given 5 seconds after SIGTERM) for High Availability testing. Only way to recover (restart logstash) is delete the queue and folder.  
Is this issue been fixed or any workaround?

--pipeline.unsafe\_shutdown with or without using this startup option didn't make any difference

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 17, 2018, 2:30pm UTC](https://discuss.elastic.co/t/persistent-queue-enabled-version-mismatch/124788/2 "2018-04-17T14:30:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
