Skip to content

Commit

Permalink
[dingo-server-coordinator] Fix drop table cause the column query for the
Browse files Browse the repository at this point in the history
first table return null.

This bug only affect online cache of coordinator, there is no data loss.

Signed-off-by: Ketor <d.ketor@gmail.com>
  • Loading branch information
ketor authored and astor-oss committed Dec 16, 2022
1 parent d32d5d0 commit 783a2c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected void doDelete(Table table) {
.flatMap(partId -> replicaAdaptor.getByDomain(partId.seq()).stream())
.map(Replica::getId)
.forEach(replicaAdaptor::delete);
columnAdaptor.deleteByDomain(id.domain());
columnAdaptor.deleteByDomain(id.seq());
ClusterScheduler.instance().getTableScheduler(id).deleteTable();
ClusterScheduler.instance().deleteTableScheduler(id);
}
Expand Down

0 comments on commit 783a2c9

Please sign in to comment.