LibP2PDB

A lightweight, embeddable library for peer-to-peer distributed-database synchronization in WoW addons.

File Details

LibP2PDB-6.zip

  • R
  • Mar 3, 2026
  • 45.99 KB
  • 9
  • 11.2.7+5
  • Retail + 3

File Name

LibP2PDB-6.zip

Supported Versions

  • 11.2.7
  • 5.5.3
  • 4.4.2
  • 3.4.5
  • 2.5.5
  • 1.15.8
  • Tweak "rows per chunk" value to be half the size (128) for a smoother spread
  • Remove deprecated GetPeerId and GetPeerIdFromGUID, which have been replaced with GetLocalPeerID and PlayerGUIDToPeerID respectively
  • Allow dropping rows entirely during onMigrateRow by returning nil key, or marking as tombstone (deleted) by returning nil data. IMPORTANT NOTE: must return source.key, source.data to preserve source data as-is.
  • Allow dropping table entirely during onMigrateTable by returning nil. IMPORTANT NOTE: must return source.TableName to preserve source table as-is.
  • Pass both new and old data in onChange callbacks, and ensure both are copies so they can't be changed inside onChange callback. Useful to do comparison and run logic when data change.