Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
刚刚看到compactmap的实现,
假设我使用的 SEQ 是内存,IDX 是内存。如果所有master同时宕机,seq应该从0开始。这样我从master那里拿到FID的时候,会和之前一样,会不会导致之前的文件被覆盖?
不会。序列号将是所有已知卷中所有序列号的最大值。
(volumeId,sequence_number) 对是唯一的。