dataply 0.0.24-alpha.6 → 0.0.24-alpha.8

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.
package/dist/cjs/index.js CHANGED
@@ -8177,9 +8177,6 @@ var PageMVCCStrategy = class {
8177
8177
  */
8178
8178
  async write(pageId, data) {
8179
8179
  const pageStartPos = pageId * this.pageSize;
8180
- if (pageStartPos + this.pageSize > 512 * 1024 * 1024) {
8181
- throw new Error(`[Safety Limit] File write exceeds 512MB limit at position ${pageStartPos}`);
8182
- }
8183
8180
  const dataCopy = new Uint8Array(this.pageSize);
8184
8181
  dataCopy.set(data);
8185
8182
  this.dirtyPages.set(pageId, dataCopy);
@@ -8498,7 +8495,6 @@ var PageFileSystem = class {
8498
8495
  const nextFreePageId = reusedPageManager.getNextPageId(reusedPage);
8499
8496
  metadataManager.setFreePageId(metadata, nextFreePageId);
8500
8497
  await this.setPage(0, metadata, tx);
8501
- await this.updateBitmap(reusedPageId, false, tx);
8502
8498
  const manager2 = this.pageFactory.getManagerFromType(pageType);
8503
8499
  const newPage2 = manager2.create(this.pageSize, reusedPageId);
8504
8500
  await this.setPage(reusedPageId, newPage2, tx);
@@ -8524,7 +8520,6 @@ var PageFileSystem = class {
8524
8520
  const nextId = i < lastFreeIndex ? i + 1 : -1;
8525
8521
  emptyManager.setNextPageId(emptyPage, nextId);
8526
8522
  await this.setPage(i, emptyPage, tx);
8527
- await this.updateBitmap(i, true, tx);
8528
8523
  }
8529
8524
  return newPageIndex;
8530
8525
  }
@@ -8622,7 +8617,6 @@ var PageFileSystem = class {
8622
8617
  const emptyPage = emptyPageManager.create(this.pageSize, pageId);
8623
8618
  emptyPageManager.setNextPageId(emptyPage, currentHeadFreePageId);
8624
8619
  await this.setPage(pageId, emptyPage, tx);
8625
- await this.updateBitmap(pageId, true, tx);
8626
8620
  metadataManager.setFreePageId(metadata, pageId);
8627
8621
  await this.setPage(0, metadata, tx);
8628
8622
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataply",
3
- "version": "0.0.24-alpha.6",
3
+ "version": "0.0.24-alpha.8",
4
4
  "description": "A lightweight storage engine for Node.js with support for MVCC, WAL.",
5
5
  "license": "MIT",
6
6
  "author": "izure <admin@izure.org>",