Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Making sure we record the replication history for the hilo documents

  • Loading branch information...
commit 5ad4b9be5ebcea00beb79031fe1f01a7d56d8ac6 1 parent 6372b79
@ayende ayende authored
4 Bundles/Raven.Bundles.Replication/Triggers/AncestryPutTrigger.cs
@@ -3,6 +3,7 @@
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
+using System;
using System.ComponentModel.Composition;
using Raven.Abstractions.Data;
using Raven.Database.Plugins;
@@ -24,7 +25,8 @@ public override void Initialize()
public override void OnPut(string key, RavenJObject document, RavenJObject metadata, TransactionInformation transactionInformation)
- if (key.StartsWith("Raven/")) // we don't deal with system documents
+ if (key.StartsWith("Raven/", StringComparison.InvariantCultureIgnoreCase) && // we don't deal with system documents
+ key.StartsWith("Raven/Hilo/", StringComparison.InvariantCultureIgnoreCase) == false) // except for hilos
var doc = Database.Get(key, null);
if (doc != null)
Please sign in to comment.
Something went wrong with that request. Please try again.