зеркало из https://github.com/microsoft/FASTER.git
Update
This commit is contained in:
Родитель
e5a485993f
Коммит
82a01a553c
|
@ -34,5 +34,6 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\core\FASTER.core.csproj" />
|
||||
<ProjectReference Include="..\..\test\FASTER.test.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -2,6 +2,7 @@
|
|||
// Licensed under the MIT license.
|
||||
|
||||
using FASTER.core;
|
||||
using FASTER.test.recovery.sumstore.simple;
|
||||
using System;
|
||||
|
||||
namespace FixedLenStructSample
|
||||
|
@ -11,6 +12,10 @@ namespace FixedLenStructSample
|
|||
// This sample uses fixed length structs for keys and values
|
||||
static void Main()
|
||||
{
|
||||
while (true)
|
||||
new SimpleRecoveryTests().SimpleRecoveryTest3();
|
||||
return;
|
||||
|
||||
var log = Devices.CreateLogDevice("hlog.log", deleteOnClose: true);
|
||||
var fht = new FasterKV<FixedLenKey, FixedLenValue, string, string, Empty, FixedLenFunctions>
|
||||
(128, new FixedLenFunctions(),
|
||||
|
|
|
@ -206,6 +206,7 @@ namespace FASTER.test.recovery.sumstore.simple
|
|||
s0.ResumeThread(); // should receive persistence callback
|
||||
s0.Dispose();
|
||||
|
||||
/*
|
||||
fht2.Recover(token);
|
||||
|
||||
var guid = s1.ID;
|
||||
|
@ -224,10 +225,11 @@ namespace FASTER.test.recovery.sumstore.simple
|
|||
}
|
||||
}
|
||||
s3.Dispose();
|
||||
*/
|
||||
|
||||
log.Close();
|
||||
fht1.Dispose();
|
||||
fht2.Dispose();
|
||||
// fht2.Dispose();
|
||||
new DirectoryInfo(TestContext.CurrentContext.TestDirectory + "\\checkpoints4").Delete(true);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче