---
title: "Duplicate Booking After Retry Troubleshooting"
description: "Timeout veya retry sonrası oluşan duplicate travel booking'leri identify edin, kanıt toplayın, doğru rezervasyonu koruyup güvenli compensation uygulayın."
slug: "duplicate-booking-after-retry-troubleshooting"
translationKey: "troubleshooting-duplicate-booking-after-retry"
locale: "tr"
type: "troubleshooting"
category: "troubleshooting"
tags: ["duplicate-booking","retry","idempotency","booking","debugging"]
publishedAt: "2026-09-27"
updatedAt: "2026-09-27"
reviewedAt: "2026-09-27"
technicalVerifiedAt: "2026-09-27"
codeExampleStatus: "illustrative"
---

Duplicate booking genellikle ilk create'in UNKNOWN sonucu sonrası ikinci create'in gönderilmesiyle oluşur. Önce **hangi booking'in original intent'e ait olduğunu ve hangisinin compensation gerektirdiğini** belirleyin.

## Symptom

- aynı traveler/itinerary için iki provider reference,
- iki confirmation email,
- duplicate payment/authorization,
- aynı bookingIntentId altında birden fazla create attempt.

## Possible causes

- timeout sonrası blind retry,
- idempotency key her retry'da değişti,
- provider idempotency desteklemiyor,
- distributed lock expire oldu,
- manual ops ikinci booking açtı,
- client double-submit.

## Diagnosis

1. Tüm booking attempts'i zaman sırasıyla çıkarın.
2. bookingIntentId/idempotency key eşleşmesini kontrol edin.
3. Provider references ve confirmation timestamps karşılaştırın.
4. Payment attempts'i correlate edin.
5. Cancellation/refund penalty bilgilerini toplayın.
6. Traveler'ın gerçekten iki booking istediğine dair evidence var mı kontrol edin.

## Recovery

- Canonical olarak korunacak booking'i seçin.
- Diğer booking için provider-specific cancellation koşulunu doğrulayın.
- Payment duplication varsa void/refund compensation uygulayın.
- Local duplicate kayıtları silmeyin; audit için linked duplicate state tutun.

## Prevention

- persistent idempotency store,
- unique constraint,
- UNKNOWN retry block,
- client double-submit protection,
- manual ops warning,
- provider/client reference lookup.

## Observability

- duplicate provider reference,
- blocked duplicate attempts,
- same-intent multi-create,
- duplicate payment,
- cancellation cost caused by retry.
