Ejemplo n.º 1
0
        public async Task Checkpoint()
        {
            foreach (IPage page in bufferPool.GetAllDirtyPages())
            {
                await FlushPage(page).ConfigureAwait(false);
            }

            foreach (BitTrackingPage page in this.AllocatationMapPages)
            {
                if (page.GetStoragePage().IsDirty())
                {
                    await FlushPage(page.GetStoragePage()).ConfigureAwait(false);
                }
            }
        }