bump, they're still having issues - I really think they should change their application to halt inserts during this very brief maintenance window (less than a minute), but their company is so large and disorganized they claim it would take at least 6 months to push out a feature such as this.
Any other solutions from the db side? Originally there was data being inserted into the first partition and we assumed the extra time it took to merge these rows (compared to when it was empty) was causing the deadlock, but now we see it when the partition we are merging is empty.
The only solution I have come up with is to repeatedly attempt the merge with a 30 second delay between attempts until it is successful, it seems like a hack but I feel it is the best solution until they can change their application to pause the stream of inserts while this purge operation takes place.