白泉镇有一位宋大夫,把脉准,用药省,方圆百里的人都认他。他立过一条怪规矩:一日只看八个号。早年腊月里他试过一天连看十一个,第九个号往后的方子上,他把「三钱」写成了「五钱」,险些吃出人命;打那以后,第八个号一看完,他就摘牌闩门。石坪铺在崖那边,翻山过来看病的人,常常走到门口才见牌子上写着「今日号满」,只好原路背回去。后来宋大夫和石坪铺茶馆的罗掌柜商量出一个法子:做两块一模一样的号牌板,一块挂诊所门边,一块立在罗掌柜柜台后头,板上插满往后一个月的竹签;每逢场期,诊所的伙计长庚揣着墨线底子走一趟栈道,两边对一对,哪家柜台拔走的签,两块板上都补一道墨线。石坪铺的人从此不必白跑:交两成定钱,拔一根签,按日子过崖来。若号出了岔子,柜台赔双倍——这是两镇讲好的老例。
Baiquan, the town on this side of the gorge, had a Doctor Song whose pulse was sure and whose prescriptions were frugal, and for a hundred li around people swore by him. He kept one odd rule: eight numbers a day, never a ninth. One deep-winter years ago he had tried to see eleven, and on the prescriptions that came after the eighth he wrote "five qian" where it should have read "three," which nearly killed a man; from then on, when the eighth number was seen, he took down his sign and barred the door. Shiping lay on the far side of the gorge, and people who climbed over with a sick child often reached the gate only to read "full for today" and carry the child all the way home. So Doctor Song worked out an arrangement with Luo, who kept the tea house in Shiping: two boards, exactly alike, one hung by the clinic gate and one standing behind Luo's counter, each set with bamboo slips for the coming month. Every market day the clinic's clerk Changgeng walked the plank road along the cliff carrying the ink lines, and the two boards were matched: whatever slip had been pulled at either counter was crossed out in ink on both. After that the people of Shiping need not walk for nothing — pay a fifth as deposit, pull a slip, cross the gorge on your appointed day. And if a number ever went wrong, the counter paid back double; that was the custom the two towns had settled on.
那年春汛凶,一连落了九天雨,半架山坡塌下来,把栈道砸断了三丈。崖顶原本有一条采药人踩出来的野径,前年秋天走它的人摔断了腿,此后没人再提。修路的木料要从对岸一寸一寸往崖壁上拼,把头估摸着月底合龙,前后得半个月。这半个月里,长庚过不去,墨线也过不去。罗掌柜柜台后头的号牌板上,往后一个月的竹签根根齐全;可崖那边的板上,这几天里拔走了哪几根,石坪铺没有一个人说得上。
That spring the flood season came hard: nine days of rain without a pause, and half a hillside let go and smashed three zhang out of the plank road. There was a goat trail along the top of the cliff, trodden by herb gatherers, but the last man who took it had come home with a broken leg, and after that nobody spoke of it. The timber for repairs had to be fitted to the rock a length at a time, carried over from the far side; the foreman reckoned the gap would be mended by the end of the month — half a month, all told. For that half month Changgeng could not cross, and the ink lines could not cross. Behind Luo's counter the board still stood full, every slip of the coming month in its place; but which slips had been pulled these past days from the board beyond the gorge, not one person in Shiping could say.
塌方后第七天,石坪铺的何嫂背着女儿来了。孩子半年来腿脚一天天发沉,走路像踩在棉絮上,本地的郎中都摇了头。栈道一通,头一个场期是三月初二;罗掌柜板上那天的头一个号还插着——在他的板上。他捏着竹签站了半晌。给了,这几日崖那边也许有本地人拔走了同一个号,两根签撞在一处,必有一家白等;不给,母女俩就得等合龙、等下个月的板挂出来,前后又是一月。他想起这孩子从前每逢场期就趴在柜台边听人说书,一站半晌。罗掌柜收了定钱,把签放进何嫂手心:三月初二,头一个号。
On the seventh day after the slide, He Sao came over with her daughter on her back. For half a year the child's legs had been growing heavy; she walked as though on cotton wadding, and the doctors of Shiping had all shaken their heads. The first market day once the road was mended would be the second of the third month, and on Luo's board the first slip of that day still stood in its groove — on his board. He held the slip a long while. If he gave it out, someone on the far side might these past days have pulled the very same number; the two slips would meet, and one family would have waited for nothing. If he did not, mother and daughter must wait for the mending of the gap and then for next month's board to go up — a month and more, all told. He thought of the child who used to lean at his counter through whole market days, listening to the storyteller. Luo took the deposit and laid the slip in He Sao's palm: the second of the third month, first number of the day.
三月初二天不亮,宋大夫门口站了两家人。何嫂手里一根签,白泉本地一户人家手里也有一根,两根签上的日子和号一模一样。宋大夫站在门里看看这张,又看看那张,没有说话;门口的人都还记得「三钱」和「五钱」的旧事,没有一个开口求他添个号。头一个号给了先到半步的那家。何嫂母女在白泉镇的大车店里住了三天,宿钱吃掉半吊药钱,初五才轮上。消息过崖,罗掌柜按老例赔了双倍定钱,一文不少,从自己的钱匣里出。石坪铺的人打那以后笑话那块板:崖那头的墨线到不了,竹签就只是一根没人认的竹片。
Before dawn on the second of the third month, two families stood at Doctor Song's gate. He Sao held one slip; a family from Baiquan itself held another; the date and the number on the two slips were the same in every stroke. Doctor Song stood in the doorway, looked at one and then the other, and said nothing. Everyone at the gate remembered the old affair of "three qian" and "five qian," and not one of them asked him to squeeze in a ninth. The first number went to the family that had arrived half a step sooner. Mother and daughter stayed three days in the wagon inn at Baiquan, the lodging eating half a string of their medicine money, before their turn came on the fifth. When the word crossed the gorge, Luo paid back double the deposit, to the last copper, out of his own cashbox. And after that the people of Shiping laughed at the board: where the ink lines from beyond the gorge could not come, a bamboo slip was only a sliver of bamboo that no one would honor.
入夏,何家丫头的药吃满三个月,脚底下那层棉絮总算薄了。宋大夫托修路的把头捎回一句话:往后断路的日子,两块板上的签一概不发,定钱不收,等长庚把墨线送过去再说。第二年秋汛,栈道又断了。剃头匠周三爷的手抖得拿不稳刀,他婆娘赶来拔初二的签,罗掌柜把板翻过来给她看:签都在,一根也不能给。栈道一通,她头一个来拔走了初四的号;崖那边捎回的信上有一行小字:初一到初三,头三根签到闭门还插在板上,宋大夫那三日一日只看了五个号。宋大夫回信只有一句:路断着发签,怕撞;路断着扣签,怕空。两样怕,总要挑一样担着。罗掌柜把这句话抄下来,贴在柜台里侧。
By early summer the girl had finished three months of the medicine, and the cotton wadding under her feet had at last grown thin. Doctor Song sent word back with the road foreman: from now on, for as long as the road was broken, no slip on either board was to be given out and no deposit taken, until Changgeng had carried the ink lines across. The next autumn the plank road broke again. Zhou the barber's hands had taken to shaking so badly he could no longer hold his razor; his wife hurried over to pull the slip for the second of the month, and Luo turned the board over to show her: the slips were all there, and not one could be given. When the road was mended she was the first back, and pulled the number for the fourth; the letter that came over the gorge carried one small line: through the first three days the first three slips had stood in the board at closing, and the doctor had seen five patients a day. His reply was a single sentence: with the road down, hand the slips out and fear a collision; hold them back and fear the empty numbers. Between those two fears, one must always be chosen and carried. Luo copied it out and pasted it inside his counter.
后来栈道又断过几回,罗掌柜的板收进后屋,再挂出来,又收进去,又挂出来。塌与不塌,从来由不得白泉镇和石坪铺;两镇的人自己能定的,只有断着的那几日里,柜台上的竹签是发出去,还是扣下来。柜台里侧那句话让茶客的袖子磨得发了毛,一直没有换过。
In later years the plank road broke a few more times, and the board went into the back room and came out again, went in and came out. Whether it fell or held was never up to Baiquan or Shiping; the only thing the two towns could decide for themselves was what the counter did with its bamboo slips on the days the road was down — hand them out, or hold them back. The sentence pasted inside the counter went fuzzy at the edges from the sleeves of tea drinkers, and it was never replaced.
注解:这就是 CAP 定理(the CAP theorem):柜台之间的路一旦断掉(网络分区),两边就无法既保证发出去的每根签都作数(一致性),又保证来的人个个不空手而回(可用性),只能择其一,等路重新通了,两者才能同时保住。常听到的「三选二」其实是误读——塌方从来不在供人挑选的单子上,它只是山里人生来就得受的前提。
Note: This is the CAP theorem: once the road between the counters is cut (a network partition), the two sides can no longer promise both that every slip handed out will be honored (consistency) and that no caller walks away empty-handed (availability); one must be given up, and only when the road is mended can the two be held together again. The familiar "pick two of three" is a misreading — the rockslide was never on any list to choose from; it is simply the premise that mountain roads impose.