# Warnings after changing logstash 5.1.1 to 5.1.2

**URL:** <https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030>\
**Category:** Logstash\
**Created:** [January 18, 2017, 3:00pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030 "2017-01-18T15:00:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbw](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tbw](https://discuss.elastic.co/u/tbw)\
**Post date:** [January 18, 2017, 3:00pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/1 "2017-01-18T15:00:17Z")

</div>

After updating from logstash 5.1.1 to 5.1.2 (also elastic) i see those messages:

> {"log":"14:56:02.635 [[main]\u003eworker0] WARN logstash.outputs.elasticsearch - Failed action. {:status=\u003e409, :action=\u003e["update", {:\_id=\u003e"%{id}", :\_index=\u003e"ta", :\_type=\u003e"events", :\_routing=\u003enil, :\_retry\_on\_conflict=\u003e1}, 2017-01-18T14:56:01.081Z %{host} %{message}], :response=\u003e{"update"=\u003e{"\_index"=\u003e"ta", "\_type"=\u003e"events", "\_id"=\u003e"%{id}", "status"=\u003e409, "error"=\u003e{"type"=\u003e"version\_conflict\_engine\_exception", "reason"=\u003e"[events][%{id}]: version conflict, current version [453] is different than the one provided [452]", "index\_uuid"=\u003e"iomvsETXQVezDOCweq2gLQ", "shard"=\u003e"0", "index"=\u003e"ta"}}}}\n","stream":"stdout","time":"2017-01-18T14:56:02.645718181Z"}  
> ...

How to fix this or this is normal?  
My data is updated by sheduler form sql database.

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [January 18, 2017, 3:17pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/2 "2017-01-18T15:17:28Z")

</div>

Hi, how did you move forward with the upgrade from LS 5.1.1 to 5.1.2? Are they still in the same location on the file system?

---

<div class="post-metadata">

**Author:** ![tbw](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tbw](https://discuss.elastic.co/u/tbw)\
**Post date:** [January 18, 2017, 3:39pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/3 "2017-01-18T15:39:41Z")

</div>

New versions (elastic + logstash) is a clean installation to new clean docker instance.  
Configuration is old. For example:

> jdbc {  
> jdbc\_connection\_string =\> "jdbc:postgresql://..."  
> jdbc\_user =\> "postgres"  
> jdbc\_password =\> "pass"  
> jdbc\_driver\_library =\> "/connectors/postgresql-9.4.1212.jar"  
> jdbc\_driver\_class =\> "org.postgresql.Driver"  
> schedule =\> "\*/7 \* \* \* \*"  
> statement =\> "SELECT id, name, updated\_at::varchar, created\_at::varchar FROM sale\_types"  
> type =\> "sale\_types"  
> }

> ..  
> output {  
> elasticsearch {  
> index =\> "ta"  
> document\_type =\> "%{type}"  
> hosts =\> ["[http://elastic:9200](http://elastic:9200)"]  
> doc\_as\_upsert =\> true  
> action =\> "update"  
> document\_id =\> "%{id}"  
> }  
> }

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [January 18, 2017, 3:49pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/4 "2017-01-18T15:49:45Z")

</div>

How is[quote="tbw, post:1, topic:72030"]  
"reason"=\u003e"[events][%{id}]: version conflict, current version [453] is different than the one provided [452]"  
[/quote]

> [@tbw](#):
>
> document\_id =\> "%{id}"

The document\_id is the current cause for concern. Is this a clean installation with no indices at all?

---

<div class="post-metadata">

**Author:** ![tbw](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tbw](https://discuss.elastic.co/u/tbw)\
**Post date:** [January 19, 2017, 8:07am UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/5 "2017-01-19T08:07:07Z")

</div>

yes this is clean installation, also after delete index and recreating them warnings is repeating  
Also this warnings for \< 1% of all records

---

<div class="post-metadata">

**Author:** ![tbw](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tbw](https://discuss.elastic.co/u/tbw)\
**Post date:** [January 23, 2017, 1:43pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/6 "2017-01-23T13:43:29Z")

</div>

Now i think it is becouse i set 2 cores processor for docker. Before i was use 1 cpu configuration.  
Is this a bug?

---

<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:** [February 20, 2017, 1:43pm UTC](https://discuss.elastic.co/t/warnings-after-changing-logstash-5-1-1-to-5-1-2/72030/7 "2017-02-20T13:43:55Z")

</div>

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