diff --git "a/data/instances.jsonl" "b/data/instances.jsonl" --- "a/data/instances.jsonl" +++ "b/data/instances.jsonl" @@ -26,7 +26,7 @@ {"instance_id": "etcd-15247", "system": "etcd", "issue_number": "15247", "lite": false, "title": "All leases are revoked when the etcd leader is stuck in handling raft Ready due to slow fdatasync or high CPU", "description": "We have 3 etcd nodes which are running on k8s, the etcd pod use portworx storage for db saving, we've found when rebooting the portworx node, it will cause etcd to be stuck in fdatasync, if this etcd node is leader, then it will cause below 2 lease keep alive issues. 1, the old leader still revokes lease after it steped to follower. 2, the old leader still handle lease keep alive request from the connected client.", "branch": "v3.4.3", "issue_url": "https://github.com/etcd-io/etcd/issues/15247", "fix_url": "https://github.com/etcd-io/etcd/pull/16822", "issue_created": "2023-02-06", "severity": "Critical", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": true, "contains_analysis": true, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "etcd-17507", "system": "etcd", "issue_number": "17507", "lite": true, "title": "Etcd not respond to progress notification on newly created watch RPC until there is a event in a watch", "description": "If the watch is newly created and not yet synced, and the client sends a progress request during that window, etcd may mark progress as deferred and then never send the progress response unless an actual watch event later occurs. If no events match the watch filter, the client can wait forever for progress notifications.", "branch": "v3.5.10", "issue_url": "https://github.com/etcd-io/etcd/issues/17507", "fix_url": "https://github.com/etcd-io/etcd/pull/17557", "issue_created": "2024-02-28", "severity": "Critical", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": true, "contains_analysis": true, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "hbase-28376", "system": "hbase", "issue_number": "28376", "lite": true, "title": "", "description": "Master Failed to Start after upgrading from 2.5.10 to 3.0.0-beta-1\n\n2024-12-01T19:00:47,390 ERROR [master/master:16000:becomeActiveMaster] master.HMaster: Failed to become active master\njava.lang.IllegalStateException: Expected the service ClusterSchemaServiceImpl [FAILED] to be RUNNING, but the service has FAILED\n at org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:384) ~[hbase-shaded-miscellaneous-4.1.5.jar:4.1.5]\n at org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:324) ~[hbase-shaded-miscellaneous-4.1.5.jar:4.1.5]\n at org.apache.hadoop.hbase.master.HMaster.initClusterSchemaService(HMaster.java:1535) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:1204) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2494) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.lambda$run$0(HMaster.java:613) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.trace.TraceUtil.lambda$tracedRunnable$2(TraceUtil.java:155) ~[hbase-common-3.0.0-beta-1.jar:3.0.0-beta-1]\n at java.lang.Thread.run(Thread.java:840) ~[?:?]\nCaused by: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 18 actions: RetriesExhaustedException: 18 times, servers with issues:\n at org.apache.hadoop.hbase.client.BufferedMutatorOverAsyncBufferedMutator.makeError(BufferedMutatorOverAsyncBufferedMutator.java:107) ~[hbase-client-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.client.BufferedMutatorOverAsyncBufferedMutator.internalFlush(BufferedMutatorOverAsyncBufferedMutator.java:122) ~[hbase-client-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.client.BufferedMutatorOverAsyncBufferedMutator.close(BufferedMutatorOverAsyncBufferedMutator.java:166) ~[hbase-client-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.TableNamespaceManager.migrateNamespaceTable(TableNamespaceManager.java:92) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:122) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.ClusterSchemaServiceImpl.doStart(ClusterSchemaServiceImpl.java:61) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService.startAsync(AbstractService.java:252) ~[hbase-shaded-miscellaneous-4.1.5.jar:4.1.5]\n at org.apache.hadoop.hbase.master.HMaster.initClusterSchemaService(HMaster.java:1532) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n ... 5 more\n2024-12-01T19:00:47,390 ERROR [master/master:16000:becomeActiveMaster] master.HMaster: Master server abort: loaded coprocessors are: []\n2024-12-01T19:00:47,390 ERROR [master/master:16000:becomeActiveMaster] master.HMaster: ***** ABORTING master master,16000,1733059831148: Unhandled exception. Starting shutdown. *****\njava.lang.IllegalStateException: Expected the service ClusterSchemaServiceImpl [FAILED] to be RUNNING, but the service has FAILED\n at org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:384) ~[hbase-shaded-miscellaneous-4.1.5.jar:4.1.5]\n at org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:324) ~[hbase-shaded-miscellaneous-4.1.5.jar:4.1.5]\n at org.apache.hadoop.hbase.master.HMaster.initClusterSchemaService(HMaster.java:1535) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:1204) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2494) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.master.HMaster.lambda$run$0(HMaster.java:613) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.trace.TraceUtil.lambda$tracedRunnable$2(TraceUtil.java:155) ~[hbase-common-3.0.0-beta-1.jar:3.0.0-beta-1]\n at java.lang.Thread.run(Thread.java:840) ~[?:?]\nRegion Server has below warning log\n\n \n\n2024-12-01T19:00:47,354 WARN [RpcServer.priority.RWQ.Fifo.write.handler=0,queue=0,port=16020] regionserver.HRegion: No such column family in batch mutation in region org.apache.hadoop.hbase.regionserver.HRegion$MutationBatchOperation@74bf756d\norg.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: Column family ns does not exist in region hbase:meta,,1.1588230740 in table 'hbase:meta', {TABLE_ATTRIBUTES => {IS_META => 'true', coprocessor$1 => '|org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint|536870911|', METADATA => {'hbase.store.file-tracker.impl' => 'DEFAULT'}}}, {NAME => 'info', INDEX_BLOCK_ENCODING => 'NONE', VERSIONS => '3', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'ROW_INDEX_V1', TTL => 'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER => 'ROWCOL', IN_MEMORY => 'true', COMPRESSION => 'NONE', BLOCKCACHE => 'true', BLOCKSIZE => '8192 B (8KB)'}, {NAME => 'rep_barrier', INDEX_BLOCK_ENCODING => 'NONE', VERSIONS => '2147483647', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'ROW_INDEX_V1', TTL => 'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER => 'ROWCOL', IN_MEMORY => 'true', COMPRESSION => 'NONE', BLOCKCACHE => 'true', BLOCKSIZE => '65536 B (64KB)'}, {NAME => 'table', INDEX_BLOCK_ENCODING => 'NONE', VERSIONS => '3', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'ROW_INDEX_V1', TTL => 'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER => 'ROWCOL', IN_MEMORY => 'true', COMPRESSION => 'NONE', BLOCKCACHE => 'true', BLOCKSIZE => '8192 B (8KB)'}\n at org.apache.hadoop.hbase.regionserver.HRegion.checkFamily(HRegion.java:5344) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion.checkFamily(HRegion.java:5331) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion.checkFamilies(HRegion.java:5325) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion.access$100(HRegion.java:239) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$MutationBatchOperation.checkAndPreparePut(HRegion.java:3849) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.checkAndPrepareMutation(HRegion.java:3486) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.checkAndPrepareMutation(HRegion.java:3498) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$MutationBatchOperation$1.visit(HRegion.java:3878) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.visitBatchOperations(HRegion.java:3377) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion$MutationBatchOperation.checkAndPrepare(HRegion.java:3857) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:4753) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:4673) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:984) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicBatchOp(RSRpcServices.java:902) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:867) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:2830) ~[hbase-server-3.0.0-beta-1.jar:3.0.0-beta-1]\n at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:45018) ~[hbase-protocol-shaded-3.0.0-beta-1.jar:3.0.0-beta-1]\ncomplete log files are attached", "branch": "2306820df8b41d9af5227465ee2cf9e18b8f0b5c", "issue_url": "https://issues.apache.org/jira/browse/HBASE-28376", "fix_url": null, "issue_created": "2024-02-17", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Hard", "distributed": false, "contains_analysis": false, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} -{"instance_id": "hbase-28830", "system": "hbase", "issue_number": "28830", "lite": false, "title": "", "description": "when a procedure on a table executed as a child procedure, furthur table procedure operations on that table are blocked forever waiting to aquire the table procedure lock .\n\nThis issue occur due to not clearing of table lock for the table procedures submitted as child procedures after the changes in HBASE-28683,", "branch": "rel/3.0.0-beta-1", "issue_url": "https://issues.apache.org/jira/browse/HBASE-28830", "fix_url": null, "issue_created": "2024-09-10", "severity": "Critical", "root_cause_type": "Concurrency", "bug_complexity": "Medium", "distributed": false, "contains_analysis": true, "analysis_removed": "Partly Removed", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} +{"instance_id": "hbase-28830", "system": "hbase", "issue_number": "28830", "lite": false, "title": "", "description": "when a procedure on a table executed as a child procedure, furthur table procedure operations on that table are blocked forever waiting to aquire the table procedure lock .\n\nThis issue occur due to not clearing of table lock for the table procedures submitted as child procedures after the changes in HBASE-28683,", "branch": "rel/3.0.0-beta-1", "issue_url": "https://issues.apache.org/jira/browse/HBASE-28830", "fix_url": "https://github.com/apache/hbase/pull/6279", "issue_created": "2024-09-10", "severity": "Critical", "root_cause_type": "Concurrency", "bug_complexity": "Medium", "distributed": false, "contains_analysis": true, "analysis_removed": "Partly Removed", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "hbase-28962", "system": "hbase", "issue_number": "28962", "lite": true, "title": "", "description": "Meta replication is inconsistent after startup when reusing HBase storage location for example the new cluster is created with the same S3 storage location that a previous one had. \nUSE_META_REPLICAS is set to true\nMETA_REPLICAS_NUM is set to 3\nFor both\nhbck output:\n\nERROR: hbase:meta, replicaId 1 is not found on any region.\nERROR: hbase:meta, replicaId 2 is not found on any region.\nERROR: hbase:meta table is not consistent. Run HBCK with proper fix options to fix hbase:meta inconsistency. Exiting...\nSummary:\n3 inconsistencies detected.\nStatus: INCONSISTENT", "branch": "db3ba44a4c692d26e70b6030fc519e92fd79f638", "issue_url": "https://issues.apache.org/jira/browse/HBASE-28962", "fix_url": null, "issue_created": "2024-11-06", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Hard", "distributed": true, "contains_analysis": false, "analysis_removed": null, "contains_logs": true, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "hbase-29021", "system": "hbase", "issue_number": "29021", "lite": false, "title": "", "description": "Symptoms\nAfter upgrading from HBase 2.5.10 to HBase 2.6.1, I observed an inconsistent read across versions.\n\nBefore the upgrade, I created a table with one row. Invoking a count command returns 1. After upgrading to 2.6.1, execute the same count command, it returns 0.\n\ncount 'test'\n\nOld Version Result:\n1 row(s)\nTook 0.5582 seconds\n=> 1\n\nNew Version Result: \n0 row(s)\nTook 1.4439 seconds\n=> 0 \nReproduce\nIt can be reproduced deterministically with the following steps\n\nStep1: Start up the HBase cluster in 2.5.10 and execute the following commands\n\ncreate 'test', 'cf', CONFIGURATION => {'hbase.store.file-tracker.impl' => 'FILE'}\nput 'test', 'row', 'cf:q', 'value'\nStep2: Execute the count command in the old version\n\ncount 'test'\n\n1 row(s)\nTook 0.5582 seconds\n=> 1 \nStep3: Stop the entire cluster, upgrade to 2.6.1 and execute the same count command\n\ncount 'test'\n\n0 row(s)\nTook 0.0842 seconds\n=> 0\nAnalysis\nThe names of StoreFileListFile differ between the two versions:\n\nIn 2.5.10: f1 or f2\nIn 2.6.1: f1.{timestamp} or f2.{timestamp}\nThe addition of a timestamp to the file name was introduced in HBASE-26791.\n\nIt can be resolved by handling missing timestamps by setting them to 0.\n\nHowever, in the case of downgrading versions, the above approach does not work. A workaround is available:\n\nChange the storefile tracker implementation from FILE > MIGRATION > DEFAULT before downgrading.", "branch": "rel/2.6.1", "issue_url": "https://issues.apache.org/jira/browse/HBASE-29021", "fix_url": null, "issue_created": "2024-12-06", "severity": "Critical", "root_cause_type": "Logic", "bug_complexity": "Hard", "distributed": false, "contains_analysis": true, "analysis_removed": "Partly Removed", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "hbase-29108", "system": "hbase", "issue_number": "29108", "lite": true, "title": "", "description": "Background:\n\nWhen hbase performs a compaction, it writes the compaction result (1 or more storefiles) to a file in HDFS under /hbase/data////.tmp//\nOnce the compaction succeeds, the storefile is renamed to /hbase/data//
/// (moved out of the .tmp directory to where storefiles should be stored and are read to serve client RPC's)\nWhen compaction fails, in some cases cleanup is performed and the storefile under .tmp directory is cleaned up (deleted). However, in other cases the storefile is left to be under .tmp directory (e.g. when one of the datanodes where the storefile's last block was being written gets SIGKILL'ed)\nProblem\n\nIn certain cases, a storefile under .tmp will contain 2 corrupt block replica and 1 good block replica (e.g. two replicas can be corrupt due to reason GENSTAMP_MISMATCH - generation stamp differs AND/OR have a file length lower than the good replica's file lengths). Namenode will detect this block corruption and report it in its metrics\nThe corrupt blocks will remain corrupt and the good block replica will not be re-replicated to other datanodes to fix the corruption.\nThe storefile under .tmp remains \"open\" / under-construction by the regionserver.\nImpact\n\nNo visible impact on hbase clients (storefiles under .tmp are not read to return data to clients).\nThis can trip up alerts & monitoring (there are corrupt blocks being reported by namenode that do not fix themselves until regions are reopened/regionservers restart)\nDecommissioning of datanodes can get blocked indefinitely (a block that contains a corrupt replica but is part of a file that is still open does not get re-replicated to other datanodes even if a good replica is available, thus the datanode that has the only good replica of a block cannot be decommissioned)\nWorkaround\n\nA region can be re-opened (e.g. by restarting a regionserver on which the region is open), which causes the region's .tmp directory to be deleted recursively once the region is opened again, removing all corrupt blocks and leftover storefiles.", "branch": "rel/2.5.10", "issue_url": "https://issues.apache.org/jira/browse/HBASE-29108", "fix_url": null, "issue_created": "2025-02-01", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} @@ -49,7 +49,7 @@ {"instance_id": "ignite3-20498", "system": "ignite3", "issue_number": "20498", "lite": false, "title": "", "description": "\nPrevent potential catalog version order violations.\nCurrently, catalog versions are stored in an ordered structure. The activation timestamp is used as a key, which depends on the configuration property \"schemaSync.delayDuration\".\n\nChanges to \"delayDuration\" parameter in runtime may lead to a violation of the order in which catalog versions are stored. That is, the old version may be saved with a bigger timestamp than the newer one.\n\nAs a result, the manager can return incorrect (older) version of the catalog using a timestamp.\n\nreproducer:\n\npublic class CatalogDelayDurationChangeTest extends BaseIgniteAbstractTest {\n private static final String NODE_NAME = \"node1\";\n private static final String TABLE_NAME = \"test1\";\n private final HybridClock clock = new HybridClockImpl();\n private final AtomicLong delayFromConfig = new AtomicLong();\n\n @Test\n public void testChangeDelayDuration() {\n CatalogManager catalogMgr = createManager();\n\n // Prepare schema changes.\n ColumnParams column = ColumnParams.builder().name(\"ID\").type(ColumnType.INT32).build();\n CatalogCommand cmd1 = BaseCatalogManagerTest.createTableCommand(TABLE_NAME, List.of(column), List.of(\"ID\"), null);\n CatalogCommand cmd2 = BaseCatalogManagerTest.createTableCommand(\"test2\", List.of(column), List.of(\"ID\"), null);\n\n // Make first schema change with delay = 1000.\n delayFromConfig.set(1_000);\n CompletableFuture schemaChangeFuture0 = catalogMgr.execute(cmd1);\n\n // Make second schema change with delay = 1.\n delayFromConfig.set(1);\n CompletableFuture schemaChangeFuture1 = catalogMgr.execute(cmd2);\n\n assertThat(schemaChangeFuture0, willCompleteSuccessfully());\n assertThat(schemaChangeFuture1, willCompleteSuccessfully());\n\n // Make sure that we are getting the latest version of the schema using current timestamp.\n int latestVer = catalogMgr.latestCatalogVersion();\n int currentTsVer = catalogMgr.activeCatalogVersion(clock.now().longValue());\n assertThat(currentTsVer, equalTo(latestVer));\n }\n\n private CatalogManager createManager() {\n VaultManager vault = new VaultManager(new InMemoryVaultService());\n MetaStorageManager metastore = StandaloneMetaStorageManager.create(vault, new SimpleInMemoryKeyValueStorage(NODE_NAME));\n UpdateLog updateLog = spy(new UpdateLogImpl(metastore));\n ClockWaiter clockWaiter = spy(new ClockWaiter(NODE_NAME, clock));\n CatalogManager manager = new CatalogManagerImpl(updateLog, clockWaiter, delayFromConfig::get, () -> 10L);\n\n vault.start();\n metastore.start();\n clockWaiter.start();\n manager.start();\n\n metastore.deployWatches().join();\n\n return manager;\n }\n}\n\n", "branch": "7a1540365d89d188da1f0d22c27c96ddc21485ac", "issue_url": "https://issues.apache.org/jira/browse/IGNITE-20498", "fix_url": null, "issue_created": "2023-09-26", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "ignite3-21776", "system": "ignite3", "issue_number": "21776", "lite": false, "title": "", "description": "\"Create table if not exists\" not a thread safe : In two parallel clients:\n\n1) Run DDL (using two clients):\n\n```\n\ncreate table if not exists parallelCreateTable0\n\n(id INTEGER not null,\n\nval VARCHAR not null,\n\nprimary key (id))\n\n```\n\n2) Get parallelCreateTable0 using ignite.tables() API or select from jdbc\n\nExpected result:\n\n One client creates the table, second one - wait table created\n Both client can use the table\n\nActual result:\n\n One client creates the table, second one return control immediatly\n Second client fails to use the table, the first one works as expected after the table creating finished.\n\n", "branch": "b08fbb60872f5c88209152992bce392f92109f87", "issue_url": "https://issues.apache.org/jira/browse/IGNITE-21776", "fix_url": null, "issue_created": "2024-03-18", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "ignite3-21827", "system": "ignite3", "issue_number": "21827", "lite": true, "title": "", "description": "Union returns incorrect result for NUMERIC/DECIMAL and INT columns\n\nSimple reproducer:\n\n sql(\"CREATE TABLE t0(id INT PRIMARY KEY, val INT)\");\n sql(\"CREATE TABLE t1(id INT PRIMARY KEY, val DECIMAL)\");\n sql(\"INSERT INTO t0 VALUES (1, 10)\");\n sql(\"INSERT INTO t1 VALUES (1, 10)\");\n\n assertQuery(\"SELECT id, val from t0 UNION select id, val from t1\")\n .returns(1, new BigDecimal(10))\n .ordered()\n .check();\n\nCheck fails:\n\njava.lang.AssertionError: Collections sizes are not equal:\n Expected: 1\n Actual: 2\n\n \n\nThe actual result for such a query contains duplicate values.\n\n 1 10\n 1 10\n\n", "branch": "166ade294eb8311cb0dc46bcdcedb3620bea7eb9", "issue_url": "https://issues.apache.org/jira/browse/IGNITE-21827", "fix_url": null, "issue_created": "2024-03-22", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} -{"instance_id": "ignite3-22597", "system": "ignite3", "issue_number": "22597", "lite": true, "title": "", "description": "Motivation\n\nThe trace id is generated at the place where the original exception was created and should be propogated to other derevatives. Right now, we send only an exception message and class name to the RAFT listener response.\n\nprivate void sendSMError(RpcContext ctx, Throwable th, boolean compacted) {\n RpcRequests.SMErrorResponse resp = factory.sMErrorResponse()\n .error(compacted ? new SMCompactedThrowable(th) : new SMFullThrowable(th))\n .build();\n\n ctx.sendResponse(resp);\n\n LOG.info(\"Error occurred on a user's state machine\", th);\n}\n\nHence, we cannot restore the trace id and create an exception with a new trace id:\n\nThrowable restoredTh = (Throwable) Class.forName(compactedThrowable.throwableClassName())\n .getConstructor(String.class)\n .newInstance(compactedThrowable.throwableMessage());\n\nfut.completeExceptionally(restoredTh);\n\nDefinition of done\n\n Both attached logs should be logged with the same trace id.\n Massage in the RAFT listener should be logged in error (or warning) level.\n", "branch": "787e868ede5a489b49c4cd9d58d3c467b10e46ed", "issue_url": "https://issues.apache.org/jira/browse/IGNITE-22597", "fix_url": null, "issue_created": "2024-06-27", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} +{"instance_id": "ignite3-22597", "system": "ignite3", "issue_number": "22597", "lite": true, "title": "", "description": "Motivation\n\nThe trace id is generated at the place where the original exception was created and should be propogated to other derevatives. Right now, we send only an exception message and class name to the RAFT listener response.\n\nprivate void sendSMError(RpcContext ctx, Throwable th, boolean compacted) {\n RpcRequests.SMErrorResponse resp = factory.sMErrorResponse()\n .error(compacted ? new SMCompactedThrowable(th) : new SMFullThrowable(th))\n .build();\n\n ctx.sendResponse(resp);\n\n LOG.info(\"Error occurred on a user's state machine\", th);\n}\n\nHence, we cannot restore the trace id and create an exception with a new trace id:\n\nThrowable restoredTh = (Throwable) Class.forName(compactedThrowable.throwableClassName())\n .getConstructor(String.class)\n .newInstance(compactedThrowable.throwableMessage());\n\nfut.completeExceptionally(restoredTh);\n\nDefinition of done\n\n Both attached logs should be logged with the same trace id.\n Massage in the RAFT listener should be logged in error (or warning) level.\n", "branch": "787e868ede5a489b49c4cd9d58d3c467b10e46ed", "issue_url": "https://issues.apache.org/jira/browse/IGNITE-22597", "fix_url": "https://github.com/apache/ignite-3/pull/4022", "issue_created": "2024-06-27", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": null, "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "kafka-6446", "system": "kafka", "issue_number": "6446", "lite": true, "title": "KafkaProducer with transactionId endless waits when bootstrap server is down", "description": "When bootstrap server is down, a KafkaProducer with transactionId endless waits on initTransactions. \n\nThe timeouts don't apply to that operation: don't honor the TRANSACTION_TIMEOUT_CONFIG.\n\nAttached an example of my code to reproduce the scenario.\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport org.apache.kafka.clients.producer.KafkaProducer;\nimport org.apache.kafka.clients.producer.ProducerConfig;\n\npublic class Test {\n \n public static void main(String[] args) {\n \n final KafkaProducer producer = new KafkaProducer(producerConfigs());\n \n producer.initTransactions();\n } \n \n private static Map producerConfigs() {\n \n final Map props = new HashMap<>();\n \n props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, \"192.168.56.1:9092\");\n props.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, \"org.apache.kafka.common.serialization.StringSerializer\");\n props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, \"org.apache.kafka.common.serialization.StringSerializer\");\n \n props.put(ProducerConfig.RETRIES_CONFIG, 1);\n props.put(ProducerConfig.MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION, 1);\n \n props.put(ProducerConfig.TRANSACTION_TIMEOUT_CONFIG, 1000);\n props.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, \"transactionId\");\n \n props.put(ProducerConfig.REQUEST_TIMEOUT_MS_CONFIG, 1000);\n props.put(ProducerConfig.MAX_BLOCK_MS_CONFIG, 1000);\n \n return props;\n }\n \n}", "branch": "1.0.0", "issue_url": "https://issues.apache.org/jira/browse/KAFKA-6446", "fix_url": "https://github.com/apache/kafka/pull/4563", "issue_created": "2018-01-15", "severity": "Critical", "root_cause_type": "Concurrency", "bug_complexity": "Medium", "distributed": true, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "kafka-7044", "system": "kafka", "issue_number": "7044", "lite": true, "title": "kafka-consumer-groups.sh NullPointerException describing round robin or sticky assignors", "description": "We've recently moved to using the round robin assignor for one of our consumer groups, and started testing the sticky assignor. In both cases, using Kafka 1.1.0 we get a null pointer exception unless the group being described is rebalancing:\n\nkafka-consumer-groups --bootstrap-server fqdn:9092 --describe --group groupname-for-consumer\n\nError: Executing consumer group command failed due to null\n[2018-06-12 01:32:34,179] DEBUG Exception in consumer group command (kafka.admin.ConsumerGroupCommand$)\njava.lang.NullPointerException\nat scala.Predef$.Long2long(Predef.scala:363)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$getLogEndOffsets$2.apply(ConsumerGroupCommand.scala:612)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$getLogEndOffsets$2.apply(ConsumerGroupCommand.scala:610)\nat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)\nat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)\nat scala.collection.immutable.List.foreach(List.scala:392)\nat scala.collection.TraversableLike$class.map(TraversableLike.scala:234)\nat scala.collection.immutable.List.map(List.scala:296)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.getLogEndOffsets(ConsumerGroupCommand.scala:610)\nat kafka.admin.ConsumerGroupCommand$ConsumerGroupService$class.describePartitions(ConsumerGroupCommand.scala:328)\nat kafka.admin.ConsumerGroupCommand$ConsumerGroupService$class.collectConsumerAssignment(ConsumerGroupCommand.scala:308)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.collectConsumerAssignment(ConsumerGroupCommand.scala:544)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$10$$anonfun$13.apply(ConsumerGroupCommand.scala:571)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$10$$anonfun$13.apply(ConsumerGroupCommand.scala:565)\nat scala.collection.immutable.List.flatMap(List.scala:338)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$10.apply(ConsumerGroupCommand.scala:565)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService$$anonfun$10.apply(ConsumerGroupCommand.scala:558)\nat scala.Option.map(Option.scala:146)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.collectGroupOffsets(ConsumerGroupCommand.scala:558)\nat kafka.admin.ConsumerGroupCommand$ConsumerGroupService$class.describeGroup(ConsumerGroupCommand.scala:271)\nat kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.describeGroup(ConsumerGroupCommand.scala:544)\nat kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:77)\nat kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)\n[2018-06-12 01:32:34,255] DEBUG Removed sensor with name connections-closed: (org.apache.kafka.common.metrics.Metrics)", "branch": "1.1.0", "issue_url": "https://issues.apache.org/jira/browse/KAFKA-7044", "fix_url": "https://github.com/apache/kafka/pull/5627", "issue_created": "2018-06-12", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Hard", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "kafka-8289", "system": "kafka", "issue_number": "8289", "lite": true, "title": "KTable, Long> can't be suppressed", "description": "I write a simple stream app followed official developer guide Stream DSL. but I got more than one Window Final Results from a session time window.\n\ntime ticker A -> (4,A) / 25s,\n\ntime ticker B -> (4, B) / 25s all send to the same topic \n\nbelow is my stream app code \n\nkstreams[0]\n.peek((k, v) -> log.info(\"--> ping, k={},v={}\", k, v))\n.groupBy((k, v) -> v, Grouped.with(Serdes.String(), Serdes.String()))\n.windowedBy(SessionWindows.with(Duration.ofSeconds(100)).grace(Duration.ofMillis(20)))\n.count()\n.suppress(Suppressed.untilWindowCloses(BufferConfig.unbounded()))\n.toStream().peek((k, v) -> log.info(\"window={},k={},v={}\", k.window(), k.key(), v));\nhere is my log print\n\n2019-04-24 20:00:26.142 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:00:47.070 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556106587744, endMs=1556107129191},k=A,v=20\n2019-04-24 20:00:51.071 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:01:16.065 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:01:41.066 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:02:06.069 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:02:31.066 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:02:56.208 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:03:21.070 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:03:46.078 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:04:04.684 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:04:11.069 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:04:19.371 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107426409},k=B,v=9\n2019-04-24 20:04:19.372 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107445012},k=A,v=1\n2019-04-24 20:04:29.604 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:04:36.067 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:04:49.715 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107451397},k=B,v=10\n2019-04-24 20:04:49.716 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107469935},k=A,v=2\n2019-04-24 20:04:54.593 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:05:01.070 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:05:19.599 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:05:20.045 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107476398},k=B,v=11\n2019-04-24 20:05:20.047 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107501398},k=B,v=12\n2019-04-24 20:05:26.075 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:05:44.598 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:05:50.399 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107519930},k=A,v=4\n2019-04-24 20:05:50.400 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107526405},k=B,v=13\n2019-04-24 20:05:51.067 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:06:09.595 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:06:16.089 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:06:20.765 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107544929},k=A,v=5\n2019-04-24 20:06:20.767 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107569926},k=A,v=6\n2019-04-24 20:06:34.595 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:06:41.063 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:06:51.081 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107576415},k=B,v=15\n2019-04-24 20:06:51.082 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107594925},k=A,v=7\n2019-04-24 20:06:59.607 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:07:06.072 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:07:21.440 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107601391},k=B,v=16\n2019-04-24 20:07:21.441 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107619935},k=A,v=8\n2019-04-24 20:07:24.596 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:07:31.066 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:07:49.608 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:07:51.775 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107626420},k=B,v=17\n2019-04-24 20:07:51.777 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107651396},k=B,v=18\n2019-04-24 20:07:56.064 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:08:14.591 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:08:21.066 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:08:22.125 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107669943},k=A,v=10\n2019-04-24 20:08:22.126 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107694921},k=A,v=11\n2019-04-24 20:08:39.619 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:08:46.067 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:08:52.457 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107701397},k=B,v=20\n2019-04-24 20:08:52.458 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107719949},k=A,v=12\n2019-04-24 20:09:04.599 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=A\n2019-04-24 20:09:11.066 INFO --- [-StreamThread-1] c.g.k.AppStreams : --> ping, k=4,v=B\n2019-04-24 20:09:22.794 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107226473, endMs=1556107726398},k=B,v=21 \n2019-04-24 20:09:22.796 INFO --- [-StreamThread-1] c.g.k.AppStreams : window=Window{startMs=1556107445012, endMs=1556107744928},k=A,v=13\n Can‘t a [SessionWindowedKStream] be suppressed after count operation? It seems the latest type record produce a previous type record 'Window Final Results'. I just want get exactly one Window Final Results. \n\nFirst i just start one time ticker, log print seems ok, when I start the second, then window info print log appeared.\n\nMy source stream record rate is a same v record / 25s, gap of inactivity is 100s, 25<100. I shouldn't got so many window info print log. Session window close and then reopened? my grace is 20 millisecond, it should not be ah. ", "branch": "2.2.0", "issue_url": "https://issues.apache.org/jira/browse/KAFKA-8289", "fix_url": "https://github.com/apache/kafka/pull/6654", "issue_created": "2019-04-25", "severity": "Blocker", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": false, "num_artifacts": 0} @@ -90,7 +90,7 @@ {"instance_id": "ray-62328", "system": "ray", "issue_number": "62328", "lite": false, "title": "[Bug] experimental_mutable_object_manager.cc - Check failed: RAY_PREDICT_TRUE(_left_ != _right_) 0 vs 0", "description": "What happened + What you expected to happen\nHardware\n2x DGX Sparks\n\nSoftware\nSee Reproduction script\n\nError\nThe application starts successfully, when using curl to communicate to the app, the following error appears.\n\n...\n(APIServer pid=1) INFO: Application startup complete.\n(EngineCore pid=107) INFO 04-03 12:10:43 [ray_executor.py:561] RAY_CGRAPH_get_timeout is set to 300\n(EngineCore pid=107) INFO 04-03 12:10:43 [ray_executor.py:565] VLLM_USE_RAY_COMPILED_DAG_CHANNEL_TYPE = nccl\n(EngineCore pid=107) INFO 04-03 12:10:43 [ray_executor.py:569] VLLM_USE_RAY_COMPILED_DAG_OVERLAP_COMM = False\n(EngineCore pid=107) INFO 04-03 12:10:43 [ray_executor.py:634] Using Ray's NCCL communicator for Ray Compiled Graph communication.\n[2026-04-03 12:10:44,576 C 107 107] experimental_mutable_object_manager.cc:177: An unexpected system state has occurred. You have likely discovered a bug in Ray. Please report this issue at https://github.com/ray-project/ray/issues and we'll work with you to fix it. Check failed: RAY_PREDICT_TRUE(_left_ != _right_) 0 vs 0\n*** StackTrace Information ***\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(+0x15e60b8) [0xfb07839560b8] ray::operator<<()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(_ZN3ray6RayLogD1Ev+0x5d8) [0xfb0783958b58] ray::RayLog::~RayLog()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(_ZN3ray12experimental20MutableObjectManager14OpenSemaphoresERKNS_8ObjectIDEPNS_18PlasmaObjectHeaderE+0x574) [0xfb0782d7ba54] ray::experimental::MutableObjectManager::OpenSemaphores()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(_ZN3ray12experimental20MutableObjectManager15RegisterChannelERKNS_8ObjectIDESt10unique_ptrIN6plasma13MutableObjectESt14default_deleteIS7_EEb+0xb4) [0xfb0782d7d3f4] ray::experimental::MutableObjectManager::RegisterChannel()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(_ZN3ray4core12experimental21MutableObjectProvider21RegisterReaderChannelERKNS_8ObjectIDE+0x78) [0xfb0782d71a48] ray::core::experimental::MutableObjectProvider::RegisterReaderChannel()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(_ZN3ray4core10CoreWorker39ExperimentalRegisterMutableObjectReaderERKNS_8ObjectIDE+0x20) [0xfb0782d006a0] ray::core::CoreWorker::ExperimentalRegisterMutableObjectReader()\n/usr/local/lib/python3.12/dist-packages/ray/_raylet.so(+0x8d7000) [0xfb0782c47000] __pyx_pw_3ray_7_raylet_10CoreWorker_49experimental_channel_register_reader()\nVLLM::EngineCore(PyObject_Vectorcall+0x4c) [0x4ce52c] PyObject_Vectorcall\nVLLM::EngineCore(_PyEval_EvalFrameDefault+0x67c) [0x4b2fdc] _PyEval_EvalFrameDefault\nVLLM::EngineCore(PyEval_EvalCode+0x84) [0x5a0f44] PyEval_EvalCode\nVLLM::EngineCore() [0x5f0c0c]\nVLLM::EngineCore() [0x5e97e8]\nVLLM::EngineCore(PyRun_StringFlags+0x70) [0x5e3830] PyRun_StringFlags\nVLLM::EngineCore(PyRun_SimpleStringFlags+0x40) [0x5e3530] PyRun_SimpleStringFlags\nVLLM::EngineCore(Py_RunMain+0x404) [0x5df734] Py_RunMain\nVLLM::EngineCore(Py_BytesMain+0x24) [0x5856f4] Py_BytesMain\n/usr/lib/aarch64-linux-gnu/libc.so.6(+0x27400) [0xfb0948527400]\n/usr/lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0x98) [0xfb09485274d8] __libc_start_main\nVLLM::EngineCore(_start+0x30) [0x585570] _start\n\n(APIServer pid=1) ERROR 04-03 12:10:44 [core_client.py:667] Engine core proc EngineCore died unexpectedly, shutting down client.\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] AsyncLLM output_handler failed.\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] Traceback (most recent call last):\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] File \"/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py\", line 663, in output_handler\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] outputs = await engine_core.get_output_async()\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] File \"/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py\", line 985, in get_output_async\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] raise self._format_exception(outputs) from None\n(APIServer pid=1) ERROR 04-03 12:10:44 [async_llm.py:707] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.\n(APIServer pid=1) INFO: 192.168.10.1:56784 - \"POST /v1/chat/completions HTTP/1.1\" 500 Internal Server Error\n(APIServer pid=1) INFO: Shutting down\n(APIServer pid=1) INFO: Waiting for application shutdown.\n(APIServer pid=1) INFO: Application shutdown complete.\n(APIServer pid=1) INFO: Finished server process [1]\nWhat I already tried\nDiffernt types of ENV variables. Also all variations of VLLM_USE_RAY_COMPILED_DAG_CHANNEL_TYPE. Also various docker things, but I think its not related to this issue.\n\nUsed Images:\nvllm/vllm-openai:v0.19.0\nvllm/vllm-openai:v0.18.1\nvllm/vllm-openai:nightly\nnvcr.io/nvidia/vllm:26.03-py3\nnvcr.io/nvidia/vllm:26.02-py3\n\nDisclaimer\nMaybe, I miss something or I am just dumb and dont know how to deactivate the experimental_mutable_object_manager.\n\nVersions / Dependencies\nRay - experimental_mutable_object_manager.cc:177\n\nReproduction script\nSpark1:\n\ndocker run -dit \\\n\t--name ray \\\n\t--gpus all \\\n\t--shm-size=16GB \\\n\t--net=host \\\n\t-e GLOO_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e NCCL_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e TP_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e VLLM_HOST_IP=192.168.10.1 \\\n\t-e VLLM_USE_RAY_WRAPPED_PP_COMM=0 \\\n\t-e RAY_memory_usage_threshold=1.0 \\\n\t-e RAY_memory_monitor_refresh_ms=0 \\\n\t-v ./models/huggingface:/root/.cache/huggingface \\\n\t-v /tmp/ray:/tmp/ray \\\n\t--privileged \\\n\t--entrypoint /bin/bash \\\n\tvllm/vllm-openai:v0.19.0 -c \"pip install ray cupy-cuda12x && ray start --head --block --port=6379 --node-ip-address=192.168.10.1\" \nSpark2:\n\ndocker run -dit --rm \\\n\t--name ray \\\n\t--gpus all \\\n\t--shm-size=16GB \\\n\t--net=host \\\n\t-e GLOO_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e NCCL_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e TP_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e VLLM_HOST_IP=192.168.10.2 \\\n\t-e VLLM_USE_RAY_WRAPPED_PP_COMM=0 \\\n\t-e RAY_memory_usage_threshold=1.0 \\\n\t-e RAY_memory_monitor_refresh_ms=0 \\\n\t-v ./models/huggingface:/root/.cache/huggingface \\\n\t--entrypoint /bin/bash \\\n\t--privileged \\\n\tvllm/vllm-openai:v0.19.0 -c \"pip install ray cupy-cuda12x && ray start --block --node-ip-address=192.168.10.2 --address=192.168.10.1:6379\" \nApplication (Spark1):\n\ndocker run -it --rm \\\n\t--net=host --gpus all \\\n\t-e VLLM_HOST_IP=192.168.10.1 \\\n\t-e VLLM_USE_RAY_WRAPPED_PP_COMM=0 \\\n\t-e VLLM_USE_RAY_COMPILED_DAG_CHANNEL_TYPE=nccl \\\n\t-e VLLM_ENABLE_V1_MULTIPROCESSING=0 \\\n\t-e NCCL_IB_HCA=rocep1s0f0,rocep1s0f1 \\\n\t-e NCCL_IB_GID_INDEX=3 \\\n\t-e NCCL_DEBUG=INFO \\\n\t-e NCCL_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e GLOO_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e TP_SOCKET_IFNAME=enp1s0f0np0 \\\n\t-e RAY_ADDRESS=192.168.10.1:6379 \\\n\t-v /tmp/ray:/tmp/ray \\\n\t-v ./../ray/models/huggingface:/root/.cache/huggingface \\\n\t--entrypoint /bin/bash \\\n\tvllm/vllm-openai:v0.19.0 -c \"pip install ray cupy-cuda12x && python3 -m vllm.entrypoints.openai.api_server --model deepseek-ai/DeepSeek-R1-Distill-Llama-70B --distributed-executor-backend ray --tensor-parallel-size 2 --max-model-len 8192 --gpu-memory-utilization 0.8 --trust-remote-code --enforce-eager\"", "branch": "a5ee5309e49895d37b2c2bd964de141df9864fd1", "issue_url": "https://github.com/ray-project/ray/issues/62328", "fix_url": "https://github.com/ray-project/ray/pull/62762", "issue_created": "2026-01-26", "severity": "Critical", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": true, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "ray-62430", "system": "ray", "issue_number": "62430", "lite": false, "title": "[Core] idle nodes fail to scale down due to idle_time_ms resetting", "description": "What happened + What you expected to happen\nIdle worker nodes (0 GPU/CPU usage, no scheduled tasks) never scale down while other nodes in the cluster are still running tasks.\nAlso, activity shows up as \"Busy workers on node\" and \"Resource: GPU currently in use\" even when node is idle and idle counter is accumulating.\n\nExpected: each node's idle timer accumulates independently and triggers scale-down after idle_timeout_minutes regardless of peer node activity\n\nActual: idle_duration_ms resets simultaneously on ALL nodes whenever a worker lease is released on ANY node, so the idle timer never accumulates past the inter-task interval\n\nHypothesis: the WorkFootprint/leased-worker tracking introduced to fix \"blocked task\" misclassification appears to reset idle_duration_ms cluster-wide as a side effect of worker lease lifecycle events. The autoscaler.py scale-down decision is correctly per-node, but the idle_duration_ms signal from GetClusterResourceState is being corrupted by unrelated nodes' lease events\n\nVersions / Dependencies\nRay version: 2.54.0\nOS: Linux (GCP)\nPython version: Python 3.10.12\nGPU: 4x nodes × 2x V100\nAutoscaler: v2", "branch": "e4d0c470b5f97d461a19f6321dcaba97ec69aeab", "issue_url": "https://github.com/ray-project/ray/issues/62430", "fix_url": "https://github.com/ray-project/ray/pull/62588", "issue_created": "2026-04-08", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": true, "contains_analysis": true, "analysis_removed": "No", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "tikv-16818", "system": "tikv", "issue_number": "16818", "lite": false, "title": "tikv panic for \"assertion failed: row.lock.is_none()\"", "description": "Bug Report\nWhat version of TiKV are you using?\n\n[\"Git Commit Hash: b7103fa\"] [thread_id=1]\nWhat operating system and CPU are you using?\nSteps to reproduce\n\nbank-tbls-pessimistic-inplace-follower-neterr\ntxn-mode=pessimistic, follower-read=true\nrun bank workload,\ninjuct network fail\nparams:\n--txn-mode=pessimistic --force-reinstall=true --update-in-place=true\n--follower-read=true\n--nemesis=schedules,partition-pd-leader,partition-half,partition-ring\n--read-lock=update --os=image --time-limit=600 --version=master\n--workload=bank-multitable --init-sql='set\n@@tidb_enable_mutation_checker=1, @@tidb_txn_assertion_level=strict,\n@@tidb_constraint_check_in_place_pessimistic=off'\nWhat did you expect?\n\npass\nWhat did happened?\n\n[2024/04/11 19:01:19.274 +00:00] [FATAL] [lib.rs:477] [\"assertion failed: row.lock.is_none()\"] [backtrace=\" 0: tikv_util::set_panic_hook::{{closure}}\n at /workspace/source/tikv/components/tikv_util/src/lib.rs:476:18\n 1: as core::ops::function::Fn>::call\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2029:9\n std::panicking::rust_panic_with_hook\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:783:13\n 2: std::panicking::begin_panic_handler::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:649:13\n 3: std::sys_common::backtrace::__rust_end_short_backtrace\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:171:18\n 4: rust_begin_unwind\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:645:5\n 5: core::panicking::panic_fmt\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:72:14\n 6: core::panicking::panic\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:144:5\n 7: resolved_ts::cmd::group_row_changes\n at /workspace/source/tikv/components/resolved_ts/src/cmd.rs:224:25\n resolved_ts::cmd::ChangeLog::encode_change_log::{{closure}}\n at /workspace/source/tikv/components/resolved_ts/src/cmd.rs:62:57\n core::iter::adapters::map::map_fold::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:85:28\n core::iter::traits::iterator::Iterator::fold\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:2640:21\n as core::iter::traits::iterator::Iterator>::fold\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:125:9\n core::iter::traits::iterator::Iterator::for_each\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:858:9\n alloc::vec::Vec::extend_trusted\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs:2923:17\n as alloc::vec::spec_extend::SpecExtend>::spec_extend\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs:26:9\n as alloc::vec::spec_from_iter_nested::SpecFromIterNested>::from_iter\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs:62:9\n alloc::vec::in_place_collect:: for alloc::vec::Vec>::from_iter\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/in_place_collect.rs:233:20\n as core::iter::traits::collect::FromIterator>::from_iter\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs:2791:9\n core::iter::traits::iterator::Iterator::collect\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:2054:9\n resolved_ts::cmd::ChangeLog::encode_change_log\n at /workspace/source/tikv/components/resolved_ts/src/cmd.rs:76:14\n 8: resolved_ts::endpoint::Endpoint::handle_change_log\n at /workspace/source/tikv/components/resolved_ts/src/endpoint.rs:883:32\n as tikv_util::worker::pool::Runnable>::run\n at /workspace/source/tikv/components/resolved_ts/src/endpoint.rs:1132:46\n tikv_util::worker::pool::Worker::start_with_timer_impl::{{closure}}\n at /workspace/source/tikv/components/tikv_util/src/worker/pool.rs:517:25\n 9: as core::future::future::Future>::poll::{{closure}}\n at /workspace/source/tikv/components/tracker/src/tls.rs:64:23\n std::thread::local::LocalKey::try_with\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:270:16\n std::thread::local::LocalKey::with\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:246:9\n as core::future::future::Future>::poll\n at /workspace/source/tikv/components/tracker/src/tls.rs:62:27\n as core::future::future::Future>::poll\n at /workspace/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/future/future/map.rs:55:37\n as core::future::future::Future>::poll\n at /workspace/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/lib.rs:93:13\n yatp::task::future::RawTask::poll\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:59:9\n 10: yatp::task::future::TaskCell::poll\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:103:9\n ::handle\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:387:20\n 11: as yatp::pool::runner::Runner>::handle\n at /workspace/source/tikv/components/tikv_util/src/yatp_pool/mod.rs:198:24\n yatp::pool::worker::WorkerThread::run\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/worker.rs:48:13\n yatp::pool::builder::LazyBuilder::build::{{closure}}\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/builder.rs:114:25\n std::sys_common::backtrace::__rust_begin_short_backtrace\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:155:18\n 12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:529:17\n as core::ops::function::FnOnce<()>>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\n std::panicking::try::do_call\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:40\n std::panicking::try\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:516:19\n std::panic::catch_unwind\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:142:14\n std::thread::Builder::spawn_unchecked_::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:528:30\n core::ops::function::FnOnce::call_once{{vtable.shim}}\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\n 13: as core::ops::function::FnOnce>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\n as core::ops::function::FnOnce>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\n std::sys::unix::thread::Thread::new::thread_start\n at /root/.rustup/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\n 14: start_thread\n 15: clone\n\"] [location=components/resolved_ts/src/cmd.rs:224] [thread_name=resolved-ts-0] [thread_id=75]\n\n", "branch": "2f3f32d9a0de2ebdb987c00b2419761cfbda4556", "issue_url": "https://github.com/tikv/tikv/issues/16818", "fix_url": "https://github.com/tikv/tikv/pull/18115", "issue_created": "2024-04-12", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} -{"instance_id": "tikv-17830", "system": "tikv", "issue_number": "17830", "lite": false, "title": "tikv panics when injecting pd failure during add multi index", "description": "Bug Report\nWhat version of TiKV are you using?\n\nv7.1.6\nWhat operating system and CPU are you using?\nSteps to reproduce\n\nIn the process of adding multi index, inject pd failure fault\nWhat did you expect?\n\nno tikv panic\nWhat did happened?\n\n{\"log\":\"[lib.rs:510] [\"Resolved future is not supposed to be polled again.\"] [backtrace=\" 0: tikv_util::set_panic_hook::{{closure}}\\n at workspace/source/tikv/components/tikv_util/src/lib.rs:509:18\\n 1: as core::ops::function::Fn>::call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2032:9\\n std::panicking::rust_panic_with_hook\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:692:13\\n 2: std::panicking::begin_panic::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:608:9\\n 3: std::sys_common::backtrace::__rust_end_short_backtrace\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18\\n 4: std::panicking::begin_panic\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:607:12\\n 5: ::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/task/mod.rs:90:13\\n 6: grpcio::call::SinkBase::poll_ready\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/call/mod.rs:796:24\\n 7: >::poll_close\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/call/server.rs:562:28\\n <&mut S as futures_sink::Sink>::poll_close\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-sink-0.3.15/src/lib.rs:130:9\\n as core::future::future::Future>::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.15/src/sink/close.rs:30:9\\n 8: ::duplicate_detect::{{closure}}\\n at workspace/source/tikv/src/import/sst_service.rs:1300:33\\n ::poll\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\\n tokio::runtime::task::core::CoreStage::poll::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:184:17\\n tokio::loom::std::unsafe_cell::UnsafeCell::with_mut\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/loom/std/unsafe_cell.rs:14:9\\n tokio::runtime::task::core::CoreStage::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:174:13\\n 9: tokio::runtime::task::harness::poll_future::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:480:19\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n tokio::runtime::task::harness::poll_future\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:468:18\\n tokio::runtime::task::harness::Harness::poll_inner\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:104:27\\n tokio::runtime::task::harness::Harness::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:57:15\\n tokio::runtime::task::raw::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:194:5\\n 10: tokio::runtime::task::raw::RawTask::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:134:18\\n tokio::runtime::task::LocalNotified::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/mod.rs:385:9\\n tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:421:13\\n tokio::coop::with_budget::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:102:9\\n std::thread::local::LocalKey::try_with\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:446:16\\n std::thread::local::LocalKey::with\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:422:9\\n tokio::coop::with_budget\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:95:5\\n tokio::coop::budget\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:72:5\\n tokio::runtime::scheduler::multi_thread::worker::Context::run_task\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:420:9\\n 11: tokio::runtime::scheduler::multi_thread::worker::Context::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:387:24\\n tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:372:17\\n tokio::macros::scoped_tls::ScopedKey::set\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/macros/scoped_tls.rs:61:9\\n tokio::runtime::scheduler::multi_thread::worker::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:369:5\\n tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:348:45\\n ::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/task.rs:42:21\\n tokio::runtime::task::core::CoreStage::poll::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:184:17\\n tokio::loom::std::unsafe_cell::UnsafeCell::with_mut\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/loom/std/unsafe_cell.rs:14:9\\n tokio::runtime::task::core::CoreStage::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:174:13\\n tokio::runtime::task::harness::poll_future::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:480:19\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n tokio::runtime::task::harness::poll_future\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:468:18\\n tokio::runtime::task::harness::Harness::poll_inner\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:104:27\\n tokio::runtime::task::harness::Harness::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:57:15\\n tokio::runtime::task::raw::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:194:5\\n 12: tokio::runtime::task::raw::RawTask::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:134:18\\n tokio::runtime::task::UnownedTask::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/mod.rs:422:9\\n tokio::runtime::blocking::pool::Task::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:111:9\\n tokio::runtime::blocking::pool::Inner::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:346:17\\n tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:321:13\\n std::sys_common::backtrace::rust_begin_short_backtrace\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:121:18\\n 13: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:551:17\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n std::thread::Builder::spawn_unchecked::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:550:30\\n core::ops::function::FnOnce::call_once{{vtable.shim}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:513:5\\n 14: as core::ops::function::FnOnce>::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\\n as core::ops::function::FnOnce>::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\\n std::sys::unix::thread::Thread::new::thread_start\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\\n 15: start_thread\\n 16: clone3\\n\"] [location=/workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/task/mod.rs:90] [thread_name=sst-importer]\",\"container\":\"tikv\",\"pod\":\"tc-tikv-0\",\"level\":\"FATAL\",\"namespace\":\"endless-ha-test-tps-7682088-1-507\"}", "branch": "v7.1.6", "issue_url": "https://github.com/tikv/tikv/issues/17830", "fix_url": "https://github.com/tikv/tikv/pull/17834", "issue_created": "2024-11-15", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} +{"instance_id": "tikv-17830", "system": "tikv", "issue_number": "17830", "lite": false, "title": "tikv panics when injecting pd failure during add multi index", "description": "Bug Report\nWhat version of TiKV are you using?\n\nv7.1.6\nWhat operating system and CPU are you using?\nSteps to reproduce\n\nIn the process of adding multi index, inject pd failure fault\nWhat did you expect?\n\nno tikv panic\nWhat did happened?\n\n{\"log\":\"[lib.rs:510] [\"Resolved future is not supposed to be polled again.\"] [backtrace=\" 0: tikv_util::set_panic_hook::{{closure}}\\n at workspace/source/tikv/components/tikv_util/src/lib.rs:509:18\\n 1: as core::ops::function::Fn>::call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2032:9\\n std::panicking::rust_panic_with_hook\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:692:13\\n 2: std::panicking::begin_panic::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:608:9\\n 3: std::sys_common::backtrace::__rust_end_short_backtrace\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18\\n 4: std::panicking::begin_panic\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:607:12\\n 5: ::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/task/mod.rs:90:13\\n 6: grpcio::call::SinkBase::poll_ready\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/call/mod.rs:796:24\\n 7: >::poll_close\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/call/server.rs:562:28\\n <&mut S as futures_sink::Sink>::poll_close\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-sink-0.3.15/src/lib.rs:130:9\\n as core::future::future::Future>::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.15/src/sink/close.rs:30:9\\n 8: ::duplicate_detect::{{closure}}\\n at workspace/source/tikv/src/import/sst_service.rs:1300:33\\n ::poll\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:91:19\\n tokio::runtime::task::core::CoreStage::poll::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:184:17\\n tokio::loom::std::unsafe_cell::UnsafeCell::with_mut\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/loom/std/unsafe_cell.rs:14:9\\n tokio::runtime::task::core::CoreStage::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:174:13\\n 9: tokio::runtime::task::harness::poll_future::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:480:19\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n tokio::runtime::task::harness::poll_future\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:468:18\\n tokio::runtime::task::harness::Harness::poll_inner\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:104:27\\n tokio::runtime::task::harness::Harness::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:57:15\\n tokio::runtime::task::raw::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:194:5\\n 10: tokio::runtime::task::raw::RawTask::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:134:18\\n tokio::runtime::task::LocalNotified::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/mod.rs:385:9\\n tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:421:13\\n tokio::coop::with_budget::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:102:9\\n std::thread::local::LocalKey::try_with\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:446:16\\n std::thread::local::LocalKey::with\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:422:9\\n tokio::coop::with_budget\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:95:5\\n tokio::coop::budget\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/coop.rs:72:5\\n tokio::runtime::scheduler::multi_thread::worker::Context::run_task\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:420:9\\n 11: tokio::runtime::scheduler::multi_thread::worker::Context::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:387:24\\n tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:372:17\\n tokio::macros::scoped_tls::ScopedKey::set\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/macros/scoped_tls.rs:61:9\\n tokio::runtime::scheduler::multi_thread::worker::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:369:5\\n tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/scheduler/multi_thread/worker.rs:348:45\\n ::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/task.rs:42:21\\n tokio::runtime::task::core::CoreStage::poll::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:184:17\\n tokio::loom::std::unsafe_cell::UnsafeCell::with_mut\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/loom/std/unsafe_cell.rs:14:9\\n tokio::runtime::task::core::CoreStage::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/core.rs:174:13\\n tokio::runtime::task::harness::poll_future::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:480:19\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n tokio::runtime::task::harness::poll_future\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:468:18\\n tokio::runtime::task::harness::Harness::poll_inner\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:104:27\\n tokio::runtime::task::harness::Harness::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/harness.rs:57:15\\n tokio::runtime::task::raw::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:194:5\\n 12: tokio::runtime::task::raw::RawTask::poll\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/raw.rs:134:18\\n tokio::runtime::task::UnownedTask::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/task/mod.rs:422:9\\n tokio::runtime::blocking::pool::Task::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:111:9\\n tokio::runtime::blocking::pool::Inner::run\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:346:17\\n tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}\\n at workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/tokio-1.21.2/src/runtime/blocking/pool.rs:321:13\\n std::sys_common::backtrace::rust_begin_short_backtrace\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:121:18\\n 13: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:551:17\\n >::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9\\n std::panicking::try::do_call\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:483:40\\n std::panicking::try\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:447:19\\n std::panic::catch_unwind\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:137:14\\n std::thread::Builder::spawn_unchecked::{{closure}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:550:30\\n core::ops::function::FnOnce::call_once{{vtable.shim}}\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:513:5\\n 14: as core::ops::function::FnOnce>::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\\n as core::ops::function::FnOnce>::call_once\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2000:9\\n std::sys::unix::thread::Thread::new::thread_start\\n at root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\\n 15: start_thread\\n 16: clone3\\n\"] [location=/workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/grpcio-0.10.4/src/task/mod.rs:90] [thread_name=sst-importer]\",\"container\":\"tikv\",\"pod\":\"tc-tikv-0\",\"level\":\"FATAL\",\"namespace\":\"endless-ha-test-tps-7682088-1-507\"}", "branch": "b00db656cefcd693651fdc337c23ae8c680d6be0", "issue_url": "https://github.com/tikv/tikv/issues/17830", "fix_url": "https://github.com/tikv/tikv/pull/17834", "issue_created": "2024-11-15", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "tikv-18317", "system": "tikv", "issue_number": "18317", "lite": false, "title": "There is a 15.4% performance regression in ycsb after PR#18248", "description": "Bug Report\nWhat version of TiKV are you using?\n\n71aecc2\nWhat operating system and CPU are you using?\n\nK8S, x86\nSteps to reproduce\n\n Deploy a cluster with 3 TiDB and 3 Tikv.\n Run benchmark ycsb (workloada).\n\nWhat did you expect?\n\nNo performance regression.\nWhat did happened?\n\nDuration regression in benchmark ycsb (workloada) compared to baseline 169.00 after #18248.\ndescription \ttidb \ttikv \tpd \tDuration\nlast success \tpingcap/tidb@db15d43 \t3035868 \ttikv/pd@a695261 \t168.00, 162.00\nfirst regression \tpingcap/tidb@db15d43 \t71aecc2 \ttikv/pd@a695261 \t195.00, 190.00", "branch": "71aecc2", "issue_url": "https://github.com/tikv/tikv/issues/18317", "fix_url": "https://github.com/tikv/tikv/pull/18321", "issue_created": "2025-03-18", "severity": "Major", "root_cause_type": "Performance", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "tikv-18458", "system": "tikv", "issue_number": "18458", "lite": true, "title": "unsafe recovery: some tables are always unavailable when alter tiflash replica after unsafe recovery finished with tiflash", "description": "Bug Report\nWhat version of TiKV are you using?\nTiKV\nRelease Version: 8.5.2\nEdition: Community\nGit Commit Hash: a150e45\nGit Commit Branch: HEAD\nUTC Build Time: 2025-04-24 12:10:31\nRust Version: rustc 1.77.0-nightly (89e2160c4 2023-12-27)\nEnable Features: memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored\nProfile: dist_release\n\nWhat operating system and CPU are you using?\n8c/16g\n\nSteps to reproduce\n1、dr auto sync deploy with tiflash 2 replicas\n2、run tpcc\n3、unsafe remove-failed-stores (include one tiflash) succeed\n\"region 52973 demotes peers { id:52974 store_id:1 }, { id:52976 store_id:9 }, { id:52979 store_id:2 }, { id:52980 store_id:502 role:Learner }\", \"region 52927 demotes peers { id:52928 store_id:1 }, { id:52930 store_id:9 }, { id:52933 store_id:2 }\", \"region 52982 demotes peers { id:52983 store_id:1 }, { id:52985 store_id:9 }, { id:52988 store_id:2 }\", \"region 52989 demotes peers { id:52990 store_id:1 }, { id:52992 store_id:9 }, { id:52995 store_id:2 }\", \"region 52996 demotes peers { id:52997 store_id:1 }, { id:52999 store_id:9 }, { id:53002 store_id:2 }\", \"region 53003 demotes peers { id:53004 store_id:1 }, { id:53006 store_id:9 }, { id:53009 store_id:2 }\", \"region 53061 demotes peers { id:53062 store_id:1 }, { id:53064 store_id:9 }, { id:53067 store_id:2 }\", \"region 53038 demotes peers { id:53039 store_id:1 }, { id:53041 store_id:9 }, { id:53044 store_id:2 }\", \"region 53068 demotes peers { id:53069 store_id:1 }, { id:53071 store_id:9 }, { id:53074 store_id:2 }\", \"region 53010 demotes peers { id:53011 store_id:1 }, { id:53013 store_id:9 }, { id:53016 store_id:2 }\", \"region 53017 demotes peers { id:53018 store_id:1 }, { id:53020 store_id:9 }, { id:53023 store_id:2 }\", \"region 53024 demotes peers { id:53025 store_id:1 }, { id:53027 store_id:9 }, { id:53030 store_id:2 }\", \"region 53031 demotes peers { id:53032 store_id:1 }, { id:53034 store_id:9 }, { id:53037 store_id:2 }\", \"region 16 demotes peers { id:17 store_id:1 }, { id:28 store_id:9 }, { id:37 store_id:2 }\", \"region 18 demotes peers { id:19 store_id:1 }, { id:27 store_id:2 }, { id:499 store_id:9 }\", \"region 3 demotes peers { id:29 store_id:9 }, { id:39 store_id:2 }, { id:472 store_id:1 }\" ], \"store 8\": [ \"region 567 demotes peers { id:568 store_id:1 }, { id:570 store_id:9 }, { id:573 store_id:2 }\", \"region 2100 demotes peers { id:2101 store_id:1 }, { id:2103 store_id:9 }, { id:2106 store_id:2 }\", \"region 53045 demotes peers { id:53046 store_id:1 }, { id:53048 store_id:9 }, { id:53051 store_id:2 }\", \"region 83 demotes peers { id:84 store_id:1 }, { id:86 store_id:9 }, { id:468 store_id:2 }\" ] } }, { \"info\": \"Unsafe recovery Finished\", \"time\": \"2025-05-06 12:45:01.366\", \"details\": [ \"affected table ids: 157, 158, 129, 156, 120, 127, 168, 174, 281474976710648, 124, 155, 176, 178, 172, 126, 125, 152, 170, 122, 123, 180, 121, 28, 153, 154, 26, 108, 128, 182\", \"no newly created empty regions\" ] } ]\n\nWhat did you expect?\nsome tables are always unavailable after alter tiflash replica\n\nWhat did happened?\nsome tables are always unavailable after alter tiflash replica\n\nImage", "branch": "a150e45", "issue_url": "https://github.com/tikv/tikv/issues/18458", "fix_url": "https://github.com/tikv/tikv/pull/18760", "issue_created": "2025-05-21", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "tikv-18498", "system": "tikv", "issue_number": "18498", "lite": true, "title": "cdc: fixing a TiKV assertion panic that can happen when CDC is enabled", "description": "Bug Report\nWhat version of TiKV are you using?\nv8.5.1\n\nWhat operating system and CPU are you using?\nSteps to reproduce\nWhat did you expect?\nWhat did happened?\n{\"level\":\"INFO\",\"caller\":\"raft.rs:2684\",\"message\":\"switched to configuration\",\"time\":\"2025/05/29 02:44:22.563 +00:00\",\"raft_id\":12700241,\"region_id\":12700240,\"thread_id\":156,\"config\":\"Configuration { voters: Configuration { incoming: Configuration { voters: {24087147, 12700242, 12700241} }, outgoing: Configuration { voters: {} } }, learners: {}, learners_next: {}, auto_leave: false }\"}\n{\"level\":\"FATAL\",\"caller\":\"lib.rs:479\",\"message\":\"assertion `left == right` failed\\n left: TimeStamp(458355287523328275)\\n right: TimeStamp(458355287523328316)\",\"time\":\"2025/05/29 02:44:22.737 +00:00\",\"thread_id\":47,\"backtrace\":\" 0: tikv_util::set_panic_hook::{{closure}}\\n at /workspace/source/tikv/components/tikv_util/src/lib.rs:478:18\\n 1: as core::ops::function::Fn>::call\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2029:9\\n std::panicking::rust_panic_with_hook\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:783:13\\n 2: std::panicking::begin_panic_handler::{{closure}}\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:657:13\\n 3: std::sys_common::backtrace::__rust_end_short_backtrace\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:171:18\\n 4: rust_begin_unwind\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:645:5\\n 5: core::panicking::panic_fmt\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:72:14\\n 6: core::panicking::assert_failed_inner\\n 7: core::panicking::assert_failed\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:297:5\\n 8: cdc::delegate::Delegate::push_lock\\n at /workspace/source/tikv/components/cdc/src/delegate.rs:374:21\\n cdc::delegate::Delegate::sink_txn_put\\n at /workspace/source/tikv/components/cdc/src/delegate.rs:1054:41\\n cdc::delegate::Delegate::sink_put\\n at /workspace/source/tikv/components/cdc/src/delegate.rs:1003:13\\n cdc::delegate::Delegate::sink_data\\n at /workspace/source/tikv/components/cdc/src/delegate.rs:871:33\\n 9: cdc::delegate::Delegate::on_batch\\n at /workspace/source/tikv/components/cdc/src/delegate.rs:734:17\\n 10: cdc::endpoint::Endpoint::on_multi_batch\\n at /workspace/source/tikv/components/cdc/src/endpoint.rs:999:33\\n as tikv_util::worker::pool::Runnable>::run\\n at /workspace/source/tikv/components/cdc/src/endpoint.rs:1225:18\\n 11: tikv_util::worker::pool::Worker::start_with_timer_impl::{{closure}}\\n at /workspace/source/tikv/components/tikv_util/src/worker/pool.rs:532:25\\n as core::future::future::Future>::poll::{{closure}}\\n at /workspace/source/tikv/components/tracker/src/tls.rs:64:23\\n std::thread::local::LocalKey::try_with\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:270:16\\n std::thread::local::LocalKey::with\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:246:9\\n as core::future::future::Future>::poll\\n at /workspace/source/tikv/components/tracker/src/tls.rs:62:27\\n as core::future::future::Future>::poll\\n at /workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.31/src/future/future/map.rs:55:37\\n as core::future::future::Future>::poll\\n at /workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.31/src/lib.rs:86:13\\n yatp::task::future::RawTask::poll\\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:59:9\\n 12: yatp::task::future::TaskCell::poll\\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:103:9\\n ::handle\\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:387:20\\n 13: as yatp::pool::runner::Runner>::handle\\n at /workspace/source/tikv/components/tikv_util/src/yatp_pool/mod.rs:199:24\\n yatp::pool::worker::WorkerThread::run\\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/worker.rs:48:13\\n yatp::pool::builder::LazyBuilder::build::{{closure}}\\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/builder.rs:114:25\\n std::sys_common::backtrace::__rust_begin_short_backtrace\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:155:18\\n 14: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:529:17\\n as core::ops::function::FnOnce<()>>::call_once\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\\n std::panicking::try::do_call\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:40\\n std::panicking::try\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:516:19\\n std::panic::catch_unwind\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:142:14\\n std::thread::Builder::spawn_unchecked_::{{closure}}\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:528:30\\n core::ops::function::FnOnce::call_once{{vtable.shim}}\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\\n 15: as core::ops::function::FnOnce>::call_once\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\\n as core::ops::function::FnOnce>::call_once\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\\n std::sys::unix::thread::Thread::new::thread_start\\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\\n 16: start_thread\\n 17: thread_start\\n\",\"location\":\"components/cdc/src/delegate.rs:374\",\"thread_name\":\"cdc-0\"}\n{\"level\":\"INFO\",\"caller\":\"lib.rs:91\",\"message\":\"Welcome to TiKV\",\"time\":\"2025/05/29 02:44:42.869 +00:00\",\"thread_id\":1}\n{\"level\":\"INFO\",\"caller\":\"lib.rs:96\",\"message\":\"Release Version: 8.5.1\",\"time\":\"2025/05/29 02:44:42.870 +00:00\",\"thread_id\":1}\n{\"level\":\"INFO\",\"caller\":\"lib.rs:96\",\"message\":\"Edition: Enterprise\",\"time\":\"2025/05/29 02:44:42.870 +00:00\",\"thread_id\":1}\n{\"level\":\"INFO\",\"caller\":\"lib.rs:96\",\"message\":\"Git Commit Hash: 25897b73e1f0e93f616c764dbe65ed7db02edd07\",\"time\":\"2025/05/29 02:44:42.870 +00:00\",\"thread_id\":1}\n 0: tikv_util::set_panic_hook::{{closure}}\n at /workspace/source/tikv/components/tikv_util/src/lib.rs:478:18\n 1: as core::ops::function::Fn>::call\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2029:9\n std::panicking::rust_panic_with_hook\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:783:13\n 2: std::panicking::begin_panic_handler::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:657:13\n 3: std::sys_common::backtrace::__rust_end_short_backtrace\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:171:18\n 4: rust_begin_unwind\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:645:5\n 5: core::panicking::panic_fmt\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:72:14\n 6: core::panicking::assert_failed_inner\n 7: core::panicking::assert_failed\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:297:5\n 8: cdc::delegate::Delegate::push_lock\n at /workspace/source/tikv/components/cdc/src/delegate.rs:374:21\n cdc::delegate::Delegate::sink_txn_put\n at /workspace/source/tikv/components/cdc/src/delegate.rs:1054:41\n cdc::delegate::Delegate::sink_put\n at /workspace/source/tikv/components/cdc/src/delegate.rs:1003:13\n cdc::delegate::Delegate::sink_data\n at /workspace/source/tikv/components/cdc/src/delegate.rs:871:33\n 9: cdc::delegate::Delegate::on_batch\n at /workspace/source/tikv/components/cdc/src/delegate.rs:734:17\n 10: cdc::endpoint::Endpoint::on_multi_batch\n at /workspace/source/tikv/components/cdc/src/endpoint.rs:999:33\n as tikv_util::worker::pool::Runnable>::run\n at /workspace/source/tikv/components/cdc/src/endpoint.rs:1225:18\n 11: tikv_util::worker::pool::Worker::start_with_timer_impl::{{closure}}\n at /workspace/source/tikv/components/tikv_util/src/worker/pool.rs:532:25\n as core::future::future::Future>::poll::{{closure}}\n at /workspace/source/tikv/components/tracker/src/tls.rs:64:23\n std::thread::local::LocalKey::try_with\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:270:16\n std::thread::local::LocalKey::with\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:246:9\n as core::future::future::Future>::poll\n at /workspace/source/tikv/components/tracker/src/tls.rs:62:27\n as core::future::future::Future>::poll\n at /workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.31/src/future/future/map.rs:55:37\n as core::future::future::Future>::poll\n at /workspace/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/futures-util-0.3.31/src/lib.rs:86:13\n yatp::task::future::RawTask::poll\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:59:9\n 12: yatp::task::future::TaskCell::poll\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:103:9\n ::handle\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:387:20\n 13: as yatp::pool::runner::Runner>::handle\n at /workspace/source/tikv/components/tikv_util/src/yatp_pool/mod.rs:199:24\n yatp::pool::worker::WorkerThread::run\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/worker.rs:48:13\n yatp::pool::builder::LazyBuilder::build::{{closure}}\n at /workspace/.cargo/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/builder.rs:114:25\n std::sys_common::backtrace::__rust_begin_short_backtrace\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:155:18\n 14: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:529:17\n as core::ops::function::FnOnce<()>>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\n std::panicking::try::do_call\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:40\n std::panicking::try\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:516:19\n std::panic::catch_unwind\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:142:14\n std::thread::Builder::spawn_unchecked_::{{closure}}\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:528:30\n core::ops::function::FnOnce::call_once{{vtable.shim}}\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\n 15: as core::ops::function::FnOnce>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\n as core::ops::function::FnOnce>::call_once\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\n std::sys::unix::thread::Thread::new::thread_start\n at /root/.rustup/toolchains/nightly-2023-12-28-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\n 16: start_thread\n 17: thread_start", "branch": "v8.5.1", "issue_url": "https://github.com/tikv/tikv/issues/18498", "fix_url": "https://github.com/tikv/tikv/pull/19025", "issue_created": "2025-06-03", "severity": "Major", "root_cause_type": "Concurrency", "bug_complexity": "Hard", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} @@ -98,7 +98,7 @@ {"instance_id": "tikv-18912", "system": "tikv", "issue_number": "18912", "lite": false, "title": "tikv panic during adding index or lighting import", "description": "Bug Report\nWhat version of TiKV are you using?\n./tikv-server -V\nTiKV\nRelease Version: 9.0.0-beta.2\nEdition: Community\nGit Commit Hash: 2d51d3e\nGit Commit Branch: HEAD\nUTC Build Time: 2025-08-29 03:24:59\nRust Version: rustc 1.87.0-nightly (96cfc7558 2025-02-27)\nEnable Features: memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored\nProfile: dist_release\n2025-09-01T01:10:11.258+0800 INFO k8s/client.go:141 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129\n\nWhat operating system and CPU are you using?\n8c32g\n\nSteps to reproduce\n1、run sysbench\n2、adding index for one table with global sort\n\nWhat did you expect?\nno panic\n\nWhat did happened?\ntikv panic during adding index\n2025-09-01 09:08:39.131\n{\"log\":\"[lib.rs:549] [\"assertion failed: last_key < next_key\"] [backtrace=\" 0: tikv_util::set_panic_hook::{{closure}}\\n at workspace/source/tikv/components/tikv_util/src/lib.rs:546:18\\n 1: as core::ops::function::Fn>::call\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1986:9\\n std::panicking::rust_panic_with_hook\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:839:13\\n 2: std::panicking::begin_panic_handler::{{closure}}\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:697:13\\n 3: std::sys::backtrace::__rust_end_short_backtrace\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:168:18\\n 4: rust_begin_unwind\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:695:5\\n 5: core::panicking::panic_fmt\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:75:14\\n 6: core::panicking::panic\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:145:5\\n 7: raftstore::store::compaction_guard::overlap_with\\n at workspace/source/tikv/components/raftstore/src/store/compaction_guard.rs:332:5\\n 8: ::can_do_trivial_move\\n at workspace/source/tikv/components/raftstore/src/store/compaction_guard.rs:435:10\\n ::can_do_trivial_move\\n at workspace/source/tikv/components/engine_rocks/src/sst_partitioner.rs:56:9\\n rocksdb::sst_partitioner::sst_partitioner_can_do_trivial_move\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/src/sst_partitioner.rs:79:5\\n 9: ZN31crocksdb_sst_partitioner_impl_t16CanDoTrivialMoveERKN7rocksdb5SliceES3\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/crocksdb/c.cc:6476:34\\n 10: _ZNK7rocksdb10Compaction13IsTrivialMoveEv\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/db/compaction/compaction.cc:584:43\\n 11: _ZN7rocksdb6DBImpl20BackgroundCompactionEPbPNS_10JobContextEPNS_9LogBufferEPNS0_19PrepickedCompactionENS_3Env8PriorityE\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/db/db_impl/db_impl_compaction_flush.cc:3746:58\\n 12: _ZN7rocksdb6DBImpl24BackgroundCallCompactionEPNS0_19PrepickedCompactionENS_3Env8PriorityE\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/db/db_impl/db_impl_compaction_flush.cc:3398:72\\n 13: _ZN7rocksdb6DBImpl16BGWorkCompactionEPv\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/db/db_impl/db_impl_compaction_flush.cc:3070:66\\n 14: _ZNKSt8functionIFvvEEclEv\\n at opt/rh/devtoolset-8/root/usr/include/c++/8/bits/std_function.h:687:14\\n _ZN7rocksdb14ThreadPoolImpl4Impl8BGThreadEm\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/util/threadpool_imp.cc:312:9\\n 15: _ZN7rocksdb14ThreadPoolImpl4Impl15BGThreadWrapperEPv\\n at workspace/.cargo/git/checkouts/rust-rocksdb-882d3d9019f8b391/1fa430f/librocksdb_sys/rocksdb/util/threadpool_imp.cc:353:15\\n 16: execute_native_thread_routine\\n 17: start_thread\\n 18: __clone3\\n\"] [location=components/raftstore/src/store/compaction_guard.rs:332] [thread_name=] [thread_id=36]\",\"container\":\"tikv\",\"pod\":\"tc-tikv-2\",\"level\":\"FATAL\",\"namespace\":\"endless-ha-test-add-index-tps-7934662-1-149\",\"filename\":\"/localpath/pvc-bb442dbf-6f04-4654-99b3-ec3e72eb38bc_endless-ha-test-add-index-tps-7934662-1-149_tikv-log-tc-tikv-2/tikv.log\"}", "branch": "2d51d3e", "issue_url": "https://github.com/tikv/tikv/issues/18912", "fix_url": "https://github.com/tikv/tikv/pull/18913", "issue_created": "2025-09-01", "severity": "Critical", "root_cause_type": "Logic", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "tikv-18983", "system": "tikv", "issue_number": "18983", "lite": false, "title": "tikv panic during sysbench bulk insert", "description": "Bug Report\nWhat version of TiKV are you using?\nsh-5.1# ./tikv-server -V\nTiKV\nRelease Version: 9.0.0-beta.2\nEdition: Community\nGit Commit Hash: 2198165\nGit Commit Branch: HEAD\nUTC Build Time: 2025-09-19 05:14:16\nRust Version: rustc 1.87.0-nightly (96cfc7558 2025-02-27)\nEnable Features: memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored\nProfile: dist_release\nsh-5.1#\n\nWhat operating system and CPU are you using?\n12 * 32c128g\n\nSteps to reproduce\n1、sysbench bulk insert\n\nWhat did you expect?\nno panic\n\nWhat did happened?\n2025-09-19 14:58:47.461 {\"namespace\":\"workload-tps-7951356-1-180\",\"log\":\"[lib.rs:555] [\\\"region_id=1259612, peer_id=1259615, idx=9\\\"] [context=\\\"(components/raftstore/src/store/fsm/store.rs:1076) peer_id=>1259615, (components/raftstore/src/store/fsm/store.rs:1076) region_id=>1259612\\\"] [backtrace=\\\" 0: tikv_util::set_panic_hook::{{closure}}\\\\n at workspace/source/tikv/components/tikv_util/src/lib.rs:546:18\\\\n 1: as core::ops::function::Fn>::call\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1986:9\\\\n std::panicking::rust_panic_with_hook\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:839:13\\\\n 2: std::panicking::begin_panic_handler::{{closure}}\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:704:13\\\\n 3: std::sys::backtrace::__rust_end_short_backtrace\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:168:18\\\\n 4: rust_begin_unwind\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:695:5\\\\n 5: core::panicking::panic_fmt\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:75:14\\\\n 6: raftstore::store::entry_storage::EntryStorage::term::{{closure}}\\\\n at workspace/source/tikv/components/raftstore/src/store/entry_storage.rs:1119:21\\\\n 7: core::option::Option::unwrap_or_else\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:1023:21\\\\n raftstore::store::entry_storage::EntryStorage::term\\\\n at workspace/source/tikv/components/raftstore/src/store/entry_storage.rs:1118:18\\\\n 8: as raft::storage::Storage>::term\\\\n at workspace/source/tikv/components/raftstore/src/store/peer_storage.rs:286:9\\\\n raft::raft_log::RaftLog::term\\\\n at workspace/.cargo/git/checkouts/raft-rs-8d904e7e48a482b3/0d01b20/src/raft_log.rs:144:18\\\\n 9: raftstore::store::peer::Peer::get_index_term\\\\n at workspace/source/tikv/components/raftstore/src/store/peer.rs:1193:15\\\\n raftstore::store::fsm::peer::PeerFsmDelegate::on_raft_gc_log_tick\\\\n at workspace/source/tikv/components/raftstore/src/store/fsm/peer.rs:6221:20\\\\n 10: raftstore::store::fsm::peer::PeerFsmDelegate::handle_msgs\\\\n at workspace/source/tikv/components/raftstore/src/store/fsm/peer.rs:714:40\\\\n 11: as batch_system::batch::PollHandler,raftstore::store::fsm::store::StoreFsm>>::handle_normal\\\\n at workspace/source/tikv/components/raftstore/src/store/fsm/store.rs:1119:9\\\\n 12: batch_system::batch::Poller::poll\\\\n at workspace/source/tikv/components/batch-system/src/batch.rs:458:27\\\\n 13: raftstore::store::worker::refresh_config::PoolController::increase_by::{{closure}}\\\\n at workspace/source/tikv/components/raftstore/src/store/worker/refresh_config.rs:84:21\\\\n ::spawn_wrapper::{{closure}}\\\\n at workspace/source/tikv/components/tikv_util/src/sys/thread.rs:441:13\\\\n std::sys::backtrace::__rust_begin_short_backtrace\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:152:18\\\\n 14: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:559:17\\\\n as core::ops::function::FnOnce<()>>::call_once\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\\\\n std::panicking::try::do_call\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:587:40\\\\n std::panicking::try\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:550:19\\\\n std::panic::catch_unwind\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14\\\\n std::thread::Builder::spawn_unchecked_::{{closure}}\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:557:30\\\\n core::ops::function::FnOnce::call_once{{vtable.shim}}\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\\\\n 15: as core::ops::function::FnOnce>::call_once\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1972:9\\\\n as core::ops::function::FnOnce>::call_once\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1972:9\\\\n std::sys::pal::unix::thread::Thread::new::thread_start\\\\n at root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs:109:17\\\\n 16: start_thread\\\\n 17: __clone\\\\n\\\"] [location=/workspace/source/tikv/components/raftstore/src/store/entry_storage.rs:1119] [thread_name=raftstore-18-0] [thread_id=222]\",\"filename\":\"/localpath/pvc-b759569f-589b-4007-9c7d-1461e70e0227_workload-tps-7951356-1-180_tikv-log-tc-tikv-0/tikv.log\",\"container\":\"tikv\",\"pod\":\"tc-tikv-0\",\"level\":\"FATAL\"}", "branch": "2198165", "issue_url": "https://github.com/tikv/tikv/issues/18983", "fix_url": "https://github.com/tikv/tikv/pull/18984", "issue_created": "2025-09-19", "severity": "Critical", "root_cause_type": "Concurrency", "bug_complexity": "Hard", "distributed": true, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "tikv-19004", "system": "tikv", "issue_number": "19004", "lite": true, "title": "TiKV panicked during jepsen test ", "description": "Bug Report\nWhat version of TiKV are you using?\nmaster\n\nWhat operating system and CPU are you using?\nk8s\n\nSteps to reproduce\nrun jepsen test\n\nWhat did you expect?\nno panic\n\nWhat did happened?\n[2025/09/20 05:17:24.026 +00:00] [FATAL] [lib.rs:555] [\"assertion failed: self.fsm.peer.pending_remove\"] [context=\"(components/raftstore/src/store/fsm/store.rs:1076) peer_id=>3509, (components/raftstore/src/store/fsm/store.rs:1076) region_id=>3505\"] [backtrace=\" 0: tikv_util::set_panic_hook::{{closure}}\\n at /workspace/source/tikv/components/tikv_util/src/lib.rs:546:18\\n 1: as core::ops::function::Fn>::call\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1986:9\\n std::panicking::rust_panic_with_hook\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:839:13\\n 2: std::panicking::begin_panic_handler::{{closure}}\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:697:13\\n 3: std::sys::backtrace::__rust_end_short_backtrace\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:168:18\\n 4: rust_begin_unwind\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:695:5\\n 5: core::panicking::panic_fmt\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:75:14\\n 6: core::panicking::panic\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:145:5\\n 7: raftstore::store::fsm::peer::PeerFsmDelegate::on_significant_msg\\n at /workspace/source/tikv/components/raftstore/src/store/fsm/peer.rs:1637:17\\n 8: raftstore::store::fsm::peer::PeerFsmDelegate::handle_msgs\\n at /workspace/source/tikv/components/raftstore/src/store/fsm/peer.rs:718:49\\n 9: as batch_system::batch::PollHandler,raftstore::store::fsm::store::StoreFsm>>::handle_normal\\n at /workspace/source/tikv/components/raftstore/src/store/fsm/store.rs:1119:9\\n 10: batch_system::batch::Poller::poll\\n at /workspace/source/tikv/components/batch-system/src/batch.rs:458:27\\n 11: raftstore::store::worker::refresh_config::PoolController::increase_by::{{closure}}\\n at /workspace/source/tikv/components/raftstore/src/store/worker/refresh_config.rs:84:21\\n ::spawn_wrapper::{{closure}}\\n at /workspace/source/tikv/components/tikv_util/src/sys/thread.rs:441:13\\n std::sys::backtrace::__rust_begin_short_backtrace\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:152:18\\n 12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:559:17\\n as core::ops::function::FnOnce<()>>::call_once\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\\n std::panicking::try::do_call\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:587:40\\n std::panicking::try\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:550:19\\n std::panic::catch_unwind\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14\\n std::thread::Builder::spawn_unchecked_::{{closure}}\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:557:30\\n core::ops::function::FnOnce::call_once{{vtable.shim}}\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\\n 13: as core::ops::function::FnOnce>::call_once\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1972:9\\n as core::ops::function::FnOnce>::call_once\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1972:9\\n std::sys::pal::unix::thread::Thread::new::thread_start\\n at /root/.rustup/toolchains/nightly-2025-02-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs:109:17\\n 14: start_thread\\n 15: __clone3\\n\"] [location=/workspace/source/tikv/components/raftstore/src/store/fsm/peer.rs:1637] [thread_name=raftstore-2-0] [thread_id=139]\nThe full logs can be downloaded via this script.", "branch": "fb85c9563caeeac44777a52cb872cb6d84fbc093", "issue_url": "https://github.com/tikv/tikv/issues/19004", "fix_url": "https://github.com/tikv/tikv/pull/19030", "issue_created": "2025-09-26", "severity": "Major", "root_cause_type": "Concurrency", "bug_complexity": "Hard", "distributed": true, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} -{"instance_id": "tikv-19220", "system": "tikv", "issue_number": "19220", "lite": false, "title": "load base split can not work when scan table", "description": "Bug Report\nWhat did you do?\n1、create a small table\n2、run oltp_write_only\n3、table full scan\n\nWhat did you expect to see?\nregion can be splited\n\nWhat did you see instead?\nregion can not be splited\n\nWhat version of PD are you using (pd-server -V)?\n./pd-server -V\nRelease Version: v9.0.0-beta.2.pre-223-gaef91a5\nEdition: Community\nKernel Type: Classic\nGit Commit Hash: aef91a5ee6d6747b611f78f3874babd06af2d67d\nGit Branch: HEAD\nUTC Build Time: 2025-12-11 01:57:48\n2025-12-11T22:42:01.516+0800 INFO k8s/client.go:141 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129", "branch": "aef91a5ee6d6747b611f78f3874babd06af2d67d", "issue_url": "https://github.com/tikv/tikv/issues/19220", "fix_url": "https://github.com/tikv/tikv/pull/19223", "issue_created": "2025-12-18", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} +{"instance_id": "tikv-19220", "system": "tikv", "issue_number": "19220", "lite": false, "title": "load base split can not work when scan table", "description": "Bug Report\nWhat did you do?\n1、create a small table\n2、run oltp_write_only\n3、table full scan\n\nWhat did you expect to see?\nregion can be splited\n\nWhat did you see instead?\nregion can not be splited\n\nWhat version of PD are you using (pd-server -V)?\n./pd-server -V\nRelease Version: v9.0.0-beta.2.pre-223-gaef91a5\nEdition: Community\nKernel Type: Classic\nGit Commit Hash: aef91a5ee6d6747b611f78f3874babd06af2d67d\nGit Branch: HEAD\nUTC Build Time: 2025-12-11 01:57:48\n2025-12-11T22:42:01.516+0800 INFO k8s/client.go:141 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129", "branch": "6bb8ff37ef2984587a12e4b9595944745fb13896", "issue_url": "https://github.com/tikv/tikv/issues/19220", "fix_url": "https://github.com/tikv/tikv/pull/19223", "issue_created": "2025-12-18", "severity": "Major", "root_cause_type": "Logic", "bug_complexity": "Easy", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "tikv-19238", "system": "tikv", "issue_number": "19238", "lite": false, "title": "Log Backup may get stuck due to async lock held across .await", "description": "Bug Report\nUnder certain configurations, Log Backup may get permanently stuck.\n\nOnce this happens:\n\nLog backup no longer makes progress, no related backup log output\nPause/Stop task commands do not work\nThis issue is strongly correlated with holding an async lock across .await, which may stall the Tokio runtime when thread resources are constrained.\n\nWhat version of TiKV are you using?\nv8.5.3\n\nWhat operating system and CPU are you using?\nN/A\n\nSteps to reproduce\nIt's not easy to reproduce, but a hypothesis version should be\n\nUse a small Tokio runtime thread pool\n• e.g. reduce [log-backup] num.threads to a small number (1–2)\nConfigure log backup with a short flush interval\nStart normal write workload and wait\nWhat did you expect?\nLog backup works normally.\n\nWhat did happened?\nLog backup flush stops making progress without reporting any error.\n\nWhen this happens:\n\nLog backup no longer advances\nQuerying /async-tasks shows that async tasks are blocked on S3-related operations\n- These S3 operations are configured with Tokio timeouts, but:\n- The timeouts do not trigger\nPause / control operations do not work", "branch": "v8.5.3", "issue_url": "https://github.com/tikv/tikv/issues/19238", "fix_url": "https://github.com/tikv/tikv/pull/19252", "issue_created": "2025-12-26", "severity": "Major", "root_cause_type": "Concurrency", "bug_complexity": "Medium", "distributed": false, "contains_analysis": true, "analysis_removed": "No", "contains_logs": false, "contains_stack_traces": false, "num_artifacts": 0} {"instance_id": "zookeeper-2581", "system": "zookeeper", "issue_number": "2581", "lite": true, "title": "Not handled NullPointerException while creating key manager and trustManager", "description": "Not handled NullPointerException while creating key manager and trustManager:-\n\n2016-09-14 13:35:23,488 [myid:1] - ERROR [CommitProcWorkThread-1:X509AuthenticationProvider@78] - Failed to create key manager\norg.apache.zookeeper.common.X509Exception$KeyManagerException: java.lang.NullPointerException\nat org.apache.zookeeper.common.X509Util.createKeyManager(X509Util.java:129)\nat org.apache.zookeeper.server.auth.X509AuthenticationProvider.(X509AuthenticationProvider.java:75)\nat org.apache.zookeeper.server.auth.ProviderRegistry.initialize(ProviderRegistry.java:42)\nat org.apache.zookeeper.server.auth.ProviderRegistry.getProvider(ProviderRegistry.java:68)\nat org.apache.zookeeper.server.PrepRequestProcessor.checkACL(PrepRequestProcessor.java:319)\nat org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:324)\nat org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:296)\nat org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:162)\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\nat java.lang.Thread.run(Thread.java:745)\nCaused by: java.lang.NullPointerException\nat org.apache.zookeeper.common.X509Util.createKeyManager(X509Util.java:113)\n... 10 more\n2016-09-14 13:35:23,489 [myid:1] - ERROR [CommitProcWorkThread-1:X509AuthenticationProvider@90] - Failed to create trust manager\norg.apache.zookeeper.common.X509Exception$TrustManagerException: java.lang.NullPointerException\nat org.apache.zookeeper.common.X509Util.createTrustManager(X509Util.java:158)\nat org.apache.zookeeper.server.auth.X509AuthenticationProvider.(X509AuthenticationProvider.java:87)\nat org.apache.zookeeper.server.auth.ProviderRegistry.initialize(ProviderRegistry.java:42)\nat org.apache.zookeeper.server.auth.ProviderRegistry.getProvider(ProviderRegistry.java:68)\nat org.apache.zookeeper.server.PrepRequestProcessor.checkACL(PrepRequestProcessor.java:319)\nat org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:324)\nat org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:296)\nat org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:162)\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\nat java.lang.Thread.run(Thread.java:745)\nCaused by: java.lang.NullPointerException\nat org.apache.zookeeper.common.X509Util.createTrustManager(X509Util.java:143)\n... 10 more", "branch": "release-3.5.1", "issue_url": "https://issues.apache.org/jira/browse/ZOOKEEPER-2581", "fix_url": "https://github.com/apache/zookeeper/commit/88c1c93", "issue_created": "2016-09-14", "severity": "Major", "root_cause_type": "Error handling", "bug_complexity": "Medium", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0} {"instance_id": "zookeeper-2623", "system": "zookeeper", "issue_number": "2623", "lite": false, "title": "CheckVersion outside of Multi causes NullPointerException", "description": "I wasn't sure if check version (opcode 13) was permitted outside of a multi op, so I tried it. My server crashed with a NullPointerException and became unusable until restarted. I guess it's not allowed, but perhaps the server should handle this more gracefully?\n\nHere are the server logs:\n\nAccepted socket connection from /0:0:0:0:0:0:0:1:51737\nSession establishment request from client /0:0:0:0:0:0:0:1:51737 client's lastZxid is 0x0\nConnection request from old client /0:0:0:0:0:0:0:1:51737; will be dropped if server is in r-o mode\nClient attempting to establish new session at /0:0:0:0:0:0:0:1:51737\n:Fsessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a\nProcessing request:: sessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a\nGot zxid 0x60000065e expected 0x1\nCreating new log file: log.60000065e\nCommitting request:: sessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0x60000065e txntype:-10 reqpath:n/a\nProcessing request:: sessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0x60000065e txntype:-10 reqpath:n/a\n:Esessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0x60000065e txntype:-10 reqpath:n/a\nsessionid:0x10025651faa0000 type:createSession cxid:0x0 zxid:0x60000065e txntype:-10 reqpath:n/a\nAdd a buffer to outgoingBuffers, sk sun.nio.ch.SelectionKeyImpl@28e9f397 is valid: true\nEstablished session 0x10025651faa0000 with negotiated timeout 20000 for client /0:0:0:0:0:0:0:1:51737\n:Fsessionid:0x10025651faa0000 type:check cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/\nProcessing request:: sessionid:0x10025651faa0000 type:check cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/\nProcessing request:: sessionid:0x10025651faa0000 type:check cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/\nException causing close of session 0x10025651faa0000: Connection reset by peer\n:Esessionid:0x10025651faa0000 type:check cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:/\nIOException stack trace\njava.io.IOException: Connection reset by peer\n\tat sun.nio.ch.FileDispatcherImpl.read0(Native Method)\n\tat sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)\n\tat sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)\n\tat sun.nio.ch.IOUtil.read(IOUtil.java:197)\n\tat sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)\n\tat org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:320)\n\tat org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:530)\n\tat org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:162)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745)\nUnexpected exception\njava.lang.NullPointerException\n\tat org.apache.zookeeper.server.ZKDatabase.addCommittedProposal(ZKDatabase.java:252)\n\tat org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:127)\n\tat org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:362)\n\tat org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:162)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745)\nCommitting request:: sessionid:0x10025651faa0000 type:error cxid:0x1 zxid:0x60000065f txntype:-1 reqpath:n/a\nUnregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id1,name1=replica.1,name2=Follower,name3=Connections,name4=\"0:0:0:0:0:0:0:1\",name5=0x10025651faa0000]\nException thrown by downstream processor, unable to continue.\nCommitProcessor exited loop!\nClosed socket connection for client /0:0:0:0:0:0:0:1:51737 which had sessionid 0x10025651faa0000\nAnd here's a one-liner to repro, which does a ConnectRequest followed by a CheckVersion(path=\"/\", version=89235}:\n\necho AAAALAAAAAAAAAAAAAAAAAAAJxAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAEQAAAAEAAAANAAAAAS8AAVyT | base64 --decode | nc localhost 2181 >/dev/null\nThis is against master as of a couple of weeks ago (f78061a). I haven't checked to see which versions are affected.", "branch": "release-3.9.0", "issue_url": "https://issues.apache.org/jira/browse/ZOOKEEPER-2623", "fix_url": "https://github.com/apache/zookeeper/pull/1988", "issue_created": "2016-10-28", "severity": "Critical", "root_cause_type": "Error handling", "bug_complexity": "Hard", "distributed": false, "contains_analysis": false, "analysis_removed": "N/A", "contains_logs": true, "contains_stack_traces": true, "num_artifacts": 0}