Skip to content

Commit 92d74cc

Browse files
committed
fix the potential shift overflow problem of machineId
update version
1 parent 375a50d commit 92d74cc

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public interface OrderRepository {
385385
> Kotlin DSL
386386

387387
``` kotlin
388-
val cosidVersion = "1.3.16";
388+
val cosidVersion = "1.3.17";
389389
implementation("me.ahoo.cosid:cosid-spring-boot-starter:${cosidVersion}")
390390
```
391391

@@ -401,7 +401,7 @@ public interface OrderRepository {
401401
<modelVersion>4.0.0</modelVersion>
402402
<artifactId>demo</artifactId>
403403
<properties>
404-
<cosid.version>1.3.16</cosid.version>
404+
<cosid.version>1.3.17</cosid.version>
405405
</properties>
406406
407407
<dependencies>
@@ -491,7 +491,7 @@ cosid:
491491
``` shell
492492
gradle cosid-core:jmh
493493
# or
494-
java -jar cosid-core/build/libs/cosid-core-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1
494+
java -jar cosid-core/build/libs/cosid-core-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1
495495
```
496496

497497
```
@@ -512,7 +512,7 @@ SnowflakeIdBenchmark.secondSnowflakeId_generate thrpt 4206843.
512512
``` shell
513513
gradle cosid-redis:jmh
514514
# or
515-
java -jar cosid-redis/build/libs/cosid-redis-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1 RedisChainIdBenchmark
515+
java -jar cosid-redis/build/libs/cosid-redis-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1 RedisChainIdBenchmark
516516
```
517517

518518
```
@@ -530,7 +530,7 @@ RedisChainIdBenchmark.step_1000 thrpt 5 127439148.104 ± 1833743
530530
![RedisChainIdBenchmark-Sample](./docs/jmh/RedisChainIdBenchmark-Sample.png)
531531

532532
```shell
533-
java -jar cosid-redis/build/libs/cosid-redis-1.3.16-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
533+
java -jar cosid-redis/build/libs/cosid-redis-1.3.17-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
534534
```
535535

536536
```
@@ -555,7 +555,7 @@ RedisChainIdBenchmark.step_1000:step_1000·p1.00 sample 37.440
555555
``` shell
556556
gradle cosid-jdbc:jmh
557557
# or
558-
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1 MySqlChainIdBenchmark
558+
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1 MySqlChainIdBenchmark
559559
```
560560

561561
```
@@ -571,7 +571,7 @@ MySqlChainIdBenchmark.step_1000 thrpt 5 123131804.260 ± 1488004.
571571
![MySqlChainIdBenchmark-Sample](./docs/jmh/MySqlChainIdBenchmark-Sample.png)
572572

573573
```shell
574-
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.16-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
574+
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.17-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
575575
```
576576
```
577577
Benchmark Mode Cnt Score Error Units

wiki/getting-started.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public interface OrderRepository {
383383
> Kotlin DSL
384384

385385
``` kotlin
386-
val cosidVersion = "1.3.16";
386+
val cosidVersion = "1.3.17";
387387
implementation("me.ahoo.cosid:cosid-spring-boot-starter:${cosidVersion}")
388388
```
389389

@@ -399,7 +399,7 @@ public interface OrderRepository {
399399
<modelVersion>4.0.0</modelVersion>
400400
<artifactId>demo</artifactId>
401401
<properties>
402-
<cosid.version>1.3.16</cosid.version>
402+
<cosid.version>1.3.17</cosid.version>
403403
</properties>
404404
405405
<dependencies>
@@ -487,7 +487,7 @@ cosid:
487487
``` shell
488488
gradle cosid-core:jmh
489489
# or
490-
java -jar cosid-core/build/libs/cosid-core-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1
490+
java -jar cosid-core/build/libs/cosid-core-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1
491491
```
492492

493493
```
@@ -508,7 +508,7 @@ SnowflakeIdBenchmark.secondSnowflakeId_generate thrpt 4206843.
508508
``` shell
509509
gradle cosid-redis:jmh
510510
# or
511-
java -jar cosid-redis/build/libs/cosid-redis-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1 RedisChainIdBenchmark
511+
java -jar cosid-redis/build/libs/cosid-redis-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1 RedisChainIdBenchmark
512512
```
513513

514514
```
@@ -526,7 +526,7 @@ RedisChainIdBenchmark.step_1000 thrpt 5 127439148.104 ± 1833743
526526
![RedisChainIdBenchmark-Sample](../docs/jmh/RedisChainIdBenchmark-Sample.png)
527527

528528
```shell
529-
java -jar cosid-redis/build/libs/cosid-redis-1.3.16-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
529+
java -jar cosid-redis/build/libs/cosid-redis-1.3.17-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
530530
```
531531

532532
```
@@ -551,7 +551,7 @@ RedisChainIdBenchmark.step_1000:step_1000·p1.00 sample 37.440
551551
``` shell
552552
gradle cosid-jdbc:jmh
553553
# or
554-
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.16-jmh.jar -bm thrpt -wi 1 -rf json -f 1 MySqlChainIdBenchmark
554+
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.17-jmh.jar -bm thrpt -wi 1 -rf json -f 1 MySqlChainIdBenchmark
555555
```
556556

557557
```
@@ -567,7 +567,7 @@ MySqlChainIdBenchmark.step_1000 thrpt 5 123131804.260 ± 1488004.
567567
![MySqlChainIdBenchmark-Sample](../docs/jmh/MySqlChainIdBenchmark-Sample.png)
568568

569569
```shell
570-
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.16-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
570+
java -jar cosid-jdbc/build/libs/cosid-jdbc-1.3.17-jmh.jar -bm sample -wi 1 -rf json -f 1 -tu us step_1000
571571
```
572572

573573
```

0 commit comments

Comments
 (0)