You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
If `DropColumnFamilies` is called while GC is running, GC can fail because the CF is gone. The GC job will then set background error which halts Titan as a whole. To prevent it, we let `DropColumnFamilies` wait till there no running GC before proceed, and let GC job wait for pending drop CF requests before start running. Fixes#71.
Also fix `DropColumnFamilies` mark obsolete file as obsolete again, which will cause assert failure.
Test Plan:
Run titandb_stress and the above issues don't reproduce.
Summary:
If `DropColumnFamilies` is called while GC is running, GC can fail because the CF is gone. The GC job will then set background error which halts Titan as a whole. To prevent it, we let `DropColumnFamilies` wait till there no running GC before proceed, and let GC job wait for pending drop CF requests before start running. Fixestikv#71.
Also fix `DropColumnFamilies` mark obsolete file as obsolete again, which will cause assert failure.
Test Plan:
Run titandb_stress and the above issues don't reproduce.
Signed-off-by: Yi Wu <yiwu@pingcap.com>
Found by db_stress #64. On
DropColumnFamilies
we should wait for any running GC job before proceed.The text was updated successfully, but these errors were encountered: