跳到內容

0.117.3

本頁內容尚未翻譯。

Patch release on 0.117.2.

  • A tower run no longer ends with a car slip that reached no integrator. A run could call tower_done in the same turn as a forward that was refused, so its note said the slip was forwarded while it went nowhere, and the coordinator heard only the 15-minute “no integrator has received it” nudge. tower_done must now be called alone, and it is refused while a car slip the run took was neither delivered to an integrator nor answered to its sender. The refusal names the slip and the call that forwards it. It lets go of a slip whose sender is gone, whose newer copy with the same text was delivered, or that the run took before the sb server started. See The run.
  • tower run 不會再帶著一張沒送到任何整合員的 car slip 結束。過去 run 可能在同一輪裡呼叫 tower_done,而同一輪的轉送其實被拒絕了,於是備註寫著 slip 已轉送,實際上哪裡也沒到,coordinator 只等到 15 分鐘後「還沒有整合員收到」的提醒。現在 tower_done 必須單獨呼叫;run 收下的 car slip 既沒有送達整合員、也沒有回覆給寄件者時,tower_done 會被拒絕。拒絕訊息會指名那張 slip 與轉送它的呼叫。寄件者已不在、較新且文字相同的一份已經送達,或 run 是在 sb server 啟動前收下它的,就不再擋。
  • A forward counts only when the integrator itself took it. A forward and a reply that settles a slip are sent to the exact session id the run checked. One the broker only queued fails, and the server tries to withdraw the queued copy. One whose receipt came from another session (pi-intercom’s broker can hand mail for a session that just left to a live one of the same name and folder) fails as redirected. A forward to every tower that reaches none fails too. Other notices, such as a returned wait, still wait in the broker’s mailbox for a session that reconnects.
  • 轉送要整合員本身收下才算數。轉送與結清 slip 的回覆,會送往 run 檢查過的那個 session id。broker 只排進信箱的會失敗,server 會嘗試撤回排進的那份。回條來自另一個 session 的(pi-intercom 的 broker 可能把寄給剛離線 session 的信,交給同名同資料夾的存活 session)以改投失敗。對所有塔台的轉送若一個都沒送到,也會失敗。其他通知(例如等待結果的回報)照舊在 broker 的信箱裡等 session 重新連上。
  • A reply settles the one slip it names. tower_reply takes slip, the event id of a car slip the reply tells its sender does not go. It settles that slip alone; a reply without it settles none, so a coordinator with two slips is answered about each.
  • 一則回覆只結清它指名的那張 slip。tower_reply 新增 slip,填入這則回覆要告訴寄件者「不轉交」的那張 car slip 的事件 id。它只結清那一張;沒填的回覆一張也不結清,所以有兩張 slip 的 coordinator 會分別得到回覆。
  • A local run’s tower_reply takes the short id its brief shows. The brief names a main as integ acme (01a21df7); a reply to 01a21df7 now finds that session when exactly one live session’s id starts with it. An exact id or name still wins, and an ally run still names its target exactly.
  • 本機 run 的 tower_reply 接受 brief 上顯示的短 id。brief 把 main 寫成 integ acme (01a21df7);回覆給 01a21df7 時,只要恰好有一個存活 session 的 id 以它開頭,就會找到那個 session。完整 id 或名稱仍然優先,ally run 也仍須精確指名目標。
  • The exact-id send is the sb server’s outbox’s own promise: pi-intercom’s client and broker can still hand a message to another session. A plain tower_reply is not checked for that and reports sent once the broker took it, and a redirected forward has already reached the other session when it fails.
  • 精確 id 的送出只是 sb server outbox 本身的保證:pi-intercom 的 client 與 broker 仍可能把訊息交給另一個 session。一般的 tower_reply 不檢查這件事,broker 收下就回報已送出;被改投的轉送失敗時,訊息已經到了另一個 session。
  • A queued copy the broker cannot withdraw may still reach its session when it reconnects. A receiver that sends no receipts counts as reached only when it shows the same endpoint epoch after the send.
  • broker 撤不回的排隊副本,那個 session 重新連上時仍可能收到。不送回條的接收者,只有在送出後仍帶著同一個 endpoint epoch 時才算送達。