Skip to content

Commit 5cf9953

Browse files
authored
Fixed MemoryStarvedScanIT timeout (apache#4270)
MemoryStarvedScanIT was timing out because the IT was deleting tables as part of the test and scans on the new FATE table were being blocked because of the low memory condition. Adjusted the check for whether the table is a user table or not to include all tables in the accumulo namespace.
1 parent 335592c commit 5cf9953

File tree

1 file changed

+2
-1
lines changed
  • server/tserver/src/main/java/org/apache/accumulo/tserver/tablet

1 file changed

+2
-1
lines changed

server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/TabletBase.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
import org.apache.accumulo.core.iterators.YieldCallback;
4343
import org.apache.accumulo.core.iteratorsImpl.system.IterationInterruptedException;
4444
import org.apache.accumulo.core.iteratorsImpl.system.SourceSwitchingIterator;
45+
import org.apache.accumulo.core.metadata.AccumuloTable;
4546
import org.apache.accumulo.core.metadata.StoredTabletFile;
4647
import org.apache.accumulo.core.metadata.schema.DataFileValue;
4748
import org.apache.accumulo.core.sample.impl.SamplerConfigurationImpl;
@@ -92,7 +93,7 @@ public TabletBase(TabletHostingServer server, KeyExtent extent) {
9293
this.context = server.getContext();
9394
this.server = server;
9495
this.extent = extent;
95-
this.isUserTable = !extent.isMeta();
96+
this.isUserTable = !AccumuloTable.allTableIds().contains(extent.tableId());
9697

9798
TableConfiguration tblConf = context.getTableConfiguration(extent.tableId());
9899
if (tblConf == null) {

0 commit comments

Comments
 (0)