洪水退去,桥重新通行,镇上人才发现两位账房——一在北岸,一在南岸——对磨坊归谁竟各执一词。北岸账房的本子上记磨坊属织工,南岸的本子上却记属木匠。桥断的那几日,两位账房对每一桩问询都作了答复,且答得又快又恳切,可每一条答复都落进了再也无法与对岸那一本对得上的册子里。镇子换来了有问必答,丢掉了那唯一的事实。
When the bridge reopened after the flood, the townspeople found that the two ledger keepers—one in the north quarter, one in the south—disagreed on who owned the mill. The north keeper's book said the mill belonged to the weaver; the south keeper's book said it belonged to the carpenter. Both had answered every inquiry during the days the bridge was down, and each answer, given in good faith and promptly, had been written into a book that could no longer match its twin. The town had its replies; it had lost its single truth.
这并非品行的过失,也不是两位账房情愿作出的抉择。桥——两岸赖以互证账本的那条唯一通路——被洪水冲断之后,每位账房都站到了境况本身劈出的岔口上。继续作答,两本账便只能越走越远,因为这一岸登记的一桩田产,再无法过到对岸;拒不作答、关上窗棂、挂出一块“桥通后再来”的牌子,账本倒是始终一致,可每一个镇民都只能冒雨立于窗下,一无所获。
This was not a failure of character, nor a choice the keepers had wanted to make. When the bridge—the only lane by which the two quarters could confirm each other's books—was severed by the flood, each keeper stood at a fork that the situation itself had carved. To keep answering was to let the two books drift apart, since a deed registered on one shore could not be carried to the other; to refuse, to shutter the window and hang a sign reading “return when the bridge stands,” was to keep the books identical but to leave every townsman standing in the rain with no reply at all.
南岸账房选择了作答。一位寡妇来问亡夫的债可曾还清;他翻自己的本子,未见还款记录,便告诉她债仍欠着。若桥是通的,他会停一停,去查北岸那本——亡夫的兄弟其实三日之前已替他清偿。可桥已断,寡妇就这么被打发走了,带走的是对一本账为真、对整座镇为假的一句话。
The south keeper chose to answer. A widow came asking whether her late husband's debt had been settled; the keeper consulted his own book, saw no record of payment, and told her the debt stood. Had the bridge been whole, he would have paused to check the north book, where the widower's brother had in fact paid three days earlier. But the bridge was gone, and so the widow was sent away with an answer that was true to one book and false to the town.
北岸账房选了另一条路。一个农人来登记田地的转卖,账房接过文书,望了望那没有桥的水面,搁下了笔。“这我不能落笔,”他说,“等对岸我兄弟看得见我所见,我才能写;否则我这本会讲一个他那本全然不知的故事,一个镇子就成了两个。”农人空手而归,转卖悬置,这趟差事没有办成——可当桥重新接上,两本账讲的仍是同一个故事。
The north keeper chose otherwise. When a farmer came to record the sale of his fields, the keeper took the paper, looked at the unbridged water, and laid down his pen. “I cannot write this,” he said. “Until my brother across the water can see what I see, my book would tell a story his does not know, and then we would have two towns instead of one.” The farmer left unrecorded, his sale in limbo, his errand undone—but when the bridge returned, the two books still told a single tale.
洪水之前,并不存在这样的岔口。桥立着,账房的信使一日里在桥上往来十数趟,这一本所写的每一桩田产,日落前都回响到另一本里。寻常日子里,镇子三事并得:唯一一致的一部册子,每个窗口都有一位随时作答的账房,以及足以在任一季里熬过一次桥断的从容韧性。两位账房并未预先舍弃三者中的任何一个;他们只是尚未被迫在断绝的那段时间里,把三者同时握在一双手中。洪水,是三者被证明无法共处同一时刻的那一瞬。
Before the flood, no such fork had existed. The bridge stood, the keepers' messengers crossed it a dozen times a day, and every deed written in one book was echoed in the other before sundown. In those ordinary days the town enjoyed all three things at once: a single consistent record, a clerk at every window ready to answer, and the quiet resilience to endure a bridge that might, at any season, wash out. The keepers had not abandoned any of the three; they had simply never yet been forced to hold them in the same hands during a severance. The flood was the moment the three proved unable to share a single hour.
注解:这便是 CAP 定理(the CAP theorem)。在必须于彼此隔绝的各方间保持一致的任何分布式记录中,一致性、可用性与分区容忍性无法在同一时刻兼得;当各方之间的通路被切断,便只能在“令账本始终一致”(一致性)与“在每个窗口都作答”(可用性)之间取舍——这一取舍由断裂本身所强加,而非账房情愿作出。
Annotation: This is the CAP theorem (the CAP theorem / CAP 定理). In any distributed record that must stay agreed across separated parties, consistency, availability, and partition tolerance cannot all be held at the same moment; when the lane between the parties is severed, one must choose between keeping the books identical (consistency) and answering at every window (availability)—a choice the break itself imposes, not one the keepers ever wished to make.