You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/07/12 10:03:10 UTC
ignite git commit: .NET: Fix compilation
Repository: ignite
Updated Branches:
refs/heads/ignite-5479 d6b558bfb -> 73aebfe69
.NET: Fix compilation
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/73aebfe6
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/73aebfe6
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/73aebfe6
Branch: refs/heads/ignite-5479
Commit: 73aebfe69dc53b785e9e0950abd64206f50e3480
Parents: d6b558b
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Wed Jul 12 13:03:01 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Wed Jul 12 13:03:01 2017 +0300
----------------------------------------------------------------------
.../Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs | 3 +--
.../PersistentStore/PersistentStoreConfiguration.cs | 11 +++--------
2 files changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/73aebfe6/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
index 81fd226..8304b6a 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
@@ -532,8 +532,7 @@ namespace Apache.Ignite.Core.Tests
Assert.AreEqual(PersistentStoreConfiguration.DefaultTlbSize, cfg.TlbSize);
Assert.AreEqual(PersistentStoreConfiguration.DefaultCheckpointingFrequency, cfg.CheckpointingFrequency);
Assert.AreEqual(PersistentStoreConfiguration.DefaultCheckpointingThreads, cfg.CheckpointingThreads);
- Assert.AreEqual(PersistentStoreConfiguration.DefaultCheckpointingPageBufferSize,
- cfg.CheckpointingPageBufferSize);
+ Assert.AreEqual(default(long), cfg.CheckpointingPageBufferSize);
Assert.AreEqual(PersistentStoreConfiguration.DefaultLockWaitTime, cfg.LockWaitTime);
Assert.AreEqual(PersistentStoreConfiguration.DefaultWalFlushFrequency, cfg.WalFlushFrequency);
Assert.AreEqual(PersistentStoreConfiguration.DefaultWalFsyncDelayNanos, cfg.WalFsyncDelayNanos);
http://git-wip-us.apache.org/repos/asf/ignite/blob/73aebfe6/modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/PersistentStoreConfiguration.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/PersistentStoreConfiguration.cs b/modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/PersistentStoreConfiguration.cs
index 3fc22d6..4d605ee 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/PersistentStoreConfiguration.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/PersistentStoreConfiguration.cs
@@ -30,11 +30,6 @@ namespace Apache.Ignite.Core.PersistentStore
public class PersistentStoreConfiguration
{
/// <summary>
- /// Default value for <see cref="CheckpointingPageBufferSize"/>.
- /// </summary>
- public const long DefaultCheckpointingPageBufferSize = 256L * 1024 * 1024;
-
- /// <summary>
/// Default value for <see cref="CheckpointingThreads"/>.
/// </summary>
public const int DefaultCheckpointingThreads = 1;
@@ -101,7 +96,6 @@ namespace Apache.Ignite.Core.PersistentStore
/// </summary>
public PersistentStoreConfiguration()
{
- CheckpointingPageBufferSize = DefaultCheckpointingPageBufferSize;
CheckpointingThreads = DefaultCheckpointingThreads;
CheckpointingFrequency = DefaultCheckpointingFrequency;
LockWaitTime = DefaultLockWaitTime;
@@ -188,8 +182,9 @@ namespace Apache.Ignite.Core.PersistentStore
/// <summary>
/// Gets or sets the size of the checkpointing page buffer.
+ /// <para />
+ /// Default is <c>0</c>: Ignite will choose buffer size automatically.
/// </summary>
- [DefaultValue(DefaultCheckpointingPageBufferSize)]
public long CheckpointingPageBufferSize { get; set; }
/// <summary>
@@ -256,7 +251,7 @@ namespace Apache.Ignite.Core.PersistentStore
/// Gets or sets the WAL (Write Ahead Log) fsync (disk sync) delay, in nanoseconds
/// </summary>
[DefaultValue(DefaultWalFsyncDelayNanos)]
- public int WalFsyncDelayNanos { get; set; }
+ public long WalFsyncDelayNanos { get; set; }
/// <summary>
/// Gets or sets the size of the WAL (Write Ahead Log) record iterator buffer, in bytes.