# Any way to identify that record merging is happening?

**URL:** <https://discuss.aerospike.com/t/any-way-to-identify-that-record-merging-is-happening/1272>\
**Category:** Operations\
**Created:** [May 14, 2015, 6:54am UTC](https://discuss.aerospike.com/t/any-way-to-identify-that-record-merging-is-happening/1272 "2015-05-14T06:54:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishbhutani](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/ashishbhutani/32/183_2.png) [@ashishbhutani](https://discuss.aerospike.com/u/ashishbhutani)\
**Post date:** [May 14, 2015, 6:54am UTC](https://discuss.aerospike.com/t/any-way-to-identify-that-record-merging-is-happening/1272/1 "2015-05-14T06:54:58Z")

</div>

Hi

Is there any way to identify that Aerospike is healing from a network partition ? Is there any first class support for that ? (I feel there is none.)

If not, can I do a log mining for any record merging message ? I see that some log messages are emitted for migration. Are there any such for merging also ?

My intention is read back from source of truth in such scenario so that I can prevent any write loss.(when higher generations overwrite lower generations for the same key)

Kindly let me know. Thanks.

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [May 14, 2015, 9:28pm UTC](https://discuss.aerospike.com/t/any-way-to-identify-that-record-merging-is-happening/1272/2 "2015-05-14T21:28:11Z")

</div>

Currently, Aerospike has 2 built-in automatic conflict resolution, which either resolves copies based on last-writer-win (using TTL of the record), or most-often-written (using generation of the record). The default is most-often-written.

There isn’t a message printed explicitly when a data is being merged. This will be an idea we will consider, thanks.

We understand your use case. Our aspiration has always been to provide an application-level option to allow application to look at each copy of the data. As we get closer to achieving this, we’ll let folks know.

---

<div class="post-metadata">

**Author:** ![ashishbhutani](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/ashishbhutani/32/183_2.png) [@ashishbhutani](https://discuss.aerospike.com/u/ashishbhutani)\
**Post date:** [May 15, 2015, 9:46am UTC](https://discuss.aerospike.com/t/any-way-to-identify-that-record-merging-is-happening/1272/3 "2015-05-15T09:46:23Z")

</div>

Thanks @wchu for the reply. And great to know that you will consider logging these messages in future releases.
