mirror of https://github.com/tikv/client-java.git
parent
15ed11dbd5
commit
4b07ecf0ac
19
pom.xml
19
pom.xml
|
@ -416,25 +416,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jar</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Code coverage test -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.nio.ByteBuffer;
|
|||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import org.joda.time.LocalDate;
|
||||
import org.tikv.common.codec.CodecDataInput;
|
||||
import org.tikv.common.codec.MyDecimal;
|
||||
|
|
|
@ -1040,7 +1040,8 @@ public class RegionStoreClient extends AbstractRegionStoreClient {
|
|||
return build(key, TiStoreType.TiKV);
|
||||
}
|
||||
|
||||
public synchronized RegionStoreClient build(ByteString key, TiStoreType storeType) throws GrpcException {
|
||||
public synchronized RegionStoreClient build(ByteString key, TiStoreType storeType)
|
||||
throws GrpcException {
|
||||
Pair<TiRegion, Store> pair = regionManager.getRegionStorePairByKey(key, storeType);
|
||||
return build(pair.first, pair.second, storeType);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue