Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/adapter/src/coord/appends.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,19 +445,6 @@ impl Coordinator {
advance_to,
} = self.get_local_write_ts().await;

// While we're flipping on the feature flags for txn-wal tables and
// the separated Postgres timestamp oracle, we also need to confirm
// leadership on writes _after_ getting the timestamp and _before_
// writing anything to table shards.
//
// TODO: Remove this after both (either?) of the above features are on
// for good and no possibility of running the old code.
let () = self
.catalog
.confirm_leadership()
.await
.unwrap_or_terminate("unable to confirm leadership");

let mut appends: BTreeMap<CatalogItemId, SmallVec<[TableData; 1]>> = BTreeMap::new();
let mut responses = Vec::with_capacity(validated_writes.len());
let mut notifies = Vec::new();
Expand Down