Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Solandra #67

wants to merge 1 commit into from

2 participants


added index id expiration time as a property


Thanks, I think it would be better to make this pick a sensible time based on the size of the reserve.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2011
  1. @ceocoder
This page is out of date. Refresh to see the latest.
4 resources/
@@ -24,6 +24,10 @@ = 131072
#*NOTE* this value must be a power of 2 = 16384
+#expiration time for reserved index ids
+#*NOTE* in seconds = 120
#The number of shards to write to at once
#This should roughly equal the number of
#nodes in your cluster
2  src/lucandra/cluster/
@@ -59,7 +59,7 @@
public static final int reserveSlabSize = Integer.valueOf("", "16384"));
private final int offsetSlots = maxDocsPerShard / reserveSlabSize;
- private final int expirationTime = 120; // seconds
+ private final int expirationTime = Integer.valueOf("", "120")); // seconds
private final ConcurrentMap<String, LinkedBlockingQueue<IdInfo>> indexReserves = new MapMaker().makeMap();
private final ConcurrentMap<String, ShardInfo> indexShards = new MapMaker().makeMap();
Something went wrong with that request. Please try again.