FIRE-33337/BUG-234770 - Avoid rename issue caused by AIS version mismatch
This is a workaround to a wider problem, but the workaround is valid even when the current cause (too many calls to accountForUpdate) is fixedmaster
parent
ed332a340d
commit
877e18951e
|
|
@ -1395,6 +1395,15 @@ void AISUpdate::parseCategory(const LLSD& category_map, S32 depth)
|
|||
{
|
||||
LL_WARNS() << "Got stale folder, known: " << curr_cat->getVersion()
|
||||
<< ", received: " << version << LL_ENDL;
|
||||
// <FS:Beq> FIRE-33337 workaround for rename issue until proper fix is in place and tested
|
||||
// Also servers a general handler for version de-sync bugs in the future.
|
||||
if( version < curr_cat->getVersion() )
|
||||
{
|
||||
// AIS version is considered canonical, so we need to refetch
|
||||
curr_cat->setVersion(LLViewerInventoryCategory::VERSION_UNKNOWN);
|
||||
curr_cat->fetch();
|
||||
}
|
||||
// </FS:Beq>
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue