Skip to content

Commit

Permalink
Test: recover test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed May 7, 2024
1 parent 860f64e commit ce4f267
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions python/parallel_test/test_chaos.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

class TestIndexParallel:

@pytest.mark.skip(
reason="Decrease row count exceed actual row count@src/storage/meta/entry/segment_entry.cppm:184, and update vector fail due to 'Not support to convert Embedding to Embedding'")
def test_chaos(self, get_infinity_connection_pool):
data = read_out_data()
connection_pool = get_infinity_connection_pool
Expand Down
2 changes: 0 additions & 2 deletions python/parallel_test/test_ddl_and_insert_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@


class TestInsertDeleteUpdate:
@pytest.mark.skip(
reason="#issue 1087 Decrease row count exceed actual row count@src/storage/meta/entry/segment_entry.cppm:184")
def test_insert_delete_ddl_parallel(self, get_infinity_connection_pool):
connection_pool = get_infinity_connection_pool

Expand Down
5 changes: 1 addition & 4 deletions src/storage/wal/catalog_delta_entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1006,10 +1006,7 @@ void GlobalCatalogDeltaEntry::AddDeltaEntry(UniquePtr<CatalogDeltaEntry> delta_e
} else {
// Continuous
do {
if (wal_size_ > wal_size) {
UnrecoverableError(fmt::format("wal_size_ {} > wal_size {}", wal_size_, wal_size));
}
wal_size_ = wal_size;
wal_size_ = std::max(wal_size_, wal_size);
this->AddDeltaEntryInner(delta_entry.get());

++last_sequence_;
Expand Down

0 comments on commit ce4f267

Please sign in to comment.