انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهSRC-014-L07

عرض عملي: تتبع خصم مزدوج إلى سببه الجذري

  • الدرس 7 من 7
  • Senior C
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

trace a customer's double charge through telemetry and data to a systemic cause; prepares SRC-014-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Start from the complaint: two charges for order 123; pull audit rows and provider references.
  2. Follow the correlation ID through logs and traces to two payment calls.
  3. Find the cause: the first call timed out client-side but succeeded at the provider, and the retry used a new idempotency key.
  4. Planned mistake: blame the customer double-clicking. Fix: test the hypothesis from timestamps and traces before concluding.
  5. Fix by deriving the key from the order and attempt and persisting it before the call.
  6. Add a reconciliation rule to detect this class and a regression test; refund through the audited path.

اختبر فهمك

What was the root cause?

أظهر الإجابة

A retry with a new idempotency key after a timeout that actually succeeded.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.