sliftutils 1.7.23 → 1.7.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,4 +46,4 @@ Machines authenticate with their certs.ts identity (proving ownership of their m
46
46
 
47
47
  We look at the valid state windows and we make sure we never delay past the valid state window. In fact, if we are within five minutes of being invalid due to the valid state window, we flush the writes immediately. That way, when the next valid window starts running, the writes will be already on disk.
48
48
 
49
- We also do scans when we are coming up to the valid state window. If we are going to be the new valid state window, both before, a little bit after, and farther after. This helps the switch over be smoother so we get all of the trailing writes. These scans use our ability to ask for the changes since a certain time. We do the scan on the right write node. The write node is always the first available node.
49
+ We also do scans when we are coming up to the valid state window. If we are going to be the new valid state window, both before, a little bit after, and farther after. This helps the switch over be smoother so we get all of the trailing writes. These scans use our ability to ask for the changes since a certain time. We do the scan on the right write node. The write node is always the first node in order (with a valid state window and matching the route hash). Which might result in us having to scan multiple nodes if we require multiple nodes to fill the full route hash window.
@@ -692,7 +692,7 @@ class ArchivesLocalBucket implements IArchives {
692
692
  }
693
693
 
694
694
  public getDebugName() {
695
- return `localBucket/${this.account}/${this.bucketName}`;
695
+ return `localBucket account ${this.account} bucket ${this.bucketName}`;
696
696
  }
697
697
  public async get(fileName: string, config?: { range?: { start: number; end: number } }): Promise<Buffer | undefined> {
698
698
  let result = await this.get2(fileName, config);