mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
small bit of pseudocode
This commit is contained in:
parent
ad3f2d8f2d
commit
1a52bf12f0
1 changed files with 8 additions and 0 deletions
|
|
@ -332,6 +332,14 @@ func (api *API) pushJobsTableKeys(ctx context.Context, jobs chan<- directiveJobT
|
|||
qtid := tkey.QualifiedTableID()
|
||||
for _, partition := range partitions {
|
||||
api.serverlessStorage.RemoveTableKeyResource(qtid, partition)
|
||||
// idea is to delete partition
|
||||
// think about the holder as that's the local disk space
|
||||
// NOTE: index = table --> don't want to delete the whole index/table
|
||||
// maybe search via indexes in the translatestores in index.go?
|
||||
// FeatureBase storage has no concept of database or org, so when we create an index in FeatureBase which maps
|
||||
// to a qtbl, the name of that index is the TableKey, which is made up of org/database/tableID
|
||||
|
||||
//api.Holder().what? do I need to create methods on holder to delete partitions?
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue